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/bbc07774-08d7-44b8-a09c-e9d44a4c71fe

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk1IiwiZW1haWwiOiJlbWFpbC01OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjI2fQ.dDuLyffirmqm_b_SZnq39q1jwY8E8vZFqqr8SkSkr-k
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/bbc07774-08d7-44b8-a09c-e9d44a4c71fe" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk1IiwiZW1haWwiOiJlbWFpbC01OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjI2fQ.dDuLyffirmqm_b_SZnq39q1jwY8E8vZFqqr8SkSkr-k" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "bbc07774-08d7-44b8-a09c-e9d44a4c71fe",
    "url": "/v2/service_bindings/bbc07774-08d7-44b8-a09c-e9d44a4c71fe",
    "created_at": "2016-04-16T01:23:46Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "3e0977f8-babc-4082-a0e6-2ed1a78b379b",
    "service_instance_guid": "0d8c0b8f-4f4d-433a-b755-303db0aaa2cb",
    "credentials": {
      "creds-key-1": "creds-val-1"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/3e0977f8-babc-4082-a0e6-2ed1a78b379b",
    "service_instance_url": "/v2/service_instances/0d8c0b8f-4f4d-433a-b755-303db0aaa2cb"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8063c541-2250-4cee-a699-9da02216d749
Content-Length: 685
X-Content-Type-Options: nosniff