Home
Version 3
Service Bindings API

Service Bindings API

Retrieve a Particular Service Binding

GET /v2/service_bindings/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Binding

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcxIiwiZW1haWwiOiJlbWFpbC02NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU1fQ.NCB2MJSWC20IvJHOA5yu4UgiOUxlWoAvd6G_8y4HiOM
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/ff34330b-ca76-4122-9a37-400d1247253d

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/ff34330b-ca76-4122-9a37-400d1247253d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcxIiwiZW1haWwiOiJlbWFpbC02NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU1fQ.NCB2MJSWC20IvJHOA5yu4UgiOUxlWoAvd6G_8y4HiOM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c08d54c6-fabf-4924-9d8a-2c865e936b3b
Content-Length: 694
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "ff34330b-ca76-4122-9a37-400d1247253d",
    "url": "/v2/service_bindings/ff34330b-ca76-4122-9a37-400d1247253d",
    "created_at": "2014-11-24T19:32:35+00:00",
    "updated_at": null
  },
  "entity": {
    "app_guid": "f7174991-b000-461f-a579-ed14be703b84",
    "service_instance_guid": "c18a1a82-d086-4c7c-a1da-6e8e94eb2f1a",
    "credentials": {
      "creds-key-151": "creds-val-151"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/f7174991-b000-461f-a579-ed14be703b84",
    "service_instance_url": "/v2/service_instances/c18a1a82-d086-4c7c-a1da-6e8e94eb2f1a"
  }
}