Home
Version 3
Service Bindings API

Service Bindings API

Retrieve a Particular Service Binding

GET /v2/service_bindings/:guid

Request

Route

GET /v2/service_bindings/eaabd042-8f5c-44a2-9580-1e114c36bdcb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mjd9.x1AfZyyjsgkpuqqMisc1ZCOH5eGNkbuFEujfo369wrU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/eaabd042-8f5c-44a2-9580-1e114c36bdcb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mjd9.x1AfZyyjsgkpuqqMisc1ZCOH5eGNkbuFEujfo369wrU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "eaabd042-8f5c-44a2-9580-1e114c36bdcb",
    "url": "/v2/service_bindings/eaabd042-8f5c-44a2-9580-1e114c36bdcb",
    "created_at": "2015-11-30T23:38:46Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "c77953c8-6c35-46c7-816e-cf0c42ac2f52",
    "service_instance_guid": "ef0bf611-82c6-4603-99fc-3a1a893109d0",
    "credentials": {
      "creds-key-376": "creds-val-376"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/c77953c8-6c35-46c7-816e-cf0c42ac2f52",
    "service_instance_url": "/v2/service_instances/ef0bf611-82c6-4603-99fc-3a1a893109d0"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 689
X-Content-Type-Options: nosniff