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/925d8848-4808-47cf-a3e8-049aa0163328

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMwfQ.SrxPb0UjZUncB5JqN_KtOTLQCwuA2etvtWX6a6JOacY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/925d8848-4808-47cf-a3e8-049aa0163328" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMwfQ.SrxPb0UjZUncB5JqN_KtOTLQCwuA2etvtWX6a6JOacY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "925d8848-4808-47cf-a3e8-049aa0163328",
    "url": "/v2/service_bindings/925d8848-4808-47cf-a3e8-049aa0163328",
    "created_at": "2015-11-03T00:53:50Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "56ae4265-4c1c-43a9-9069-2c1fee7fd42f",
    "service_instance_guid": "f99b3d23-55f9-48b5-add3-d7ab08b2ff0c",
    "credentials": {
      "creds-key-108": "creds-val-108"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/56ae4265-4c1c-43a9-9069-2c1fee7fd42f",
    "service_instance_url": "/v2/service_instances/f99b3d23-55f9-48b5-add3-d7ab08b2ff0c"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 79b6e535-fd07-47b2-b69e-09494a47c4b8
Content-Length: 689
X-Content-Type-Options: nosniff