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/f1763543-842f-4b82-86dc-7e8176e258f5

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ1fQ.e32VrXPouHbODlmsKqQKP34WcK-7P2PyO1XDl5ec014
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/f1763543-842f-4b82-86dc-7e8176e258f5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ1fQ.e32VrXPouHbODlmsKqQKP34WcK-7P2PyO1XDl5ec014" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f1763543-842f-4b82-86dc-7e8176e258f5",
    "url": "/v2/service_bindings/f1763543-842f-4b82-86dc-7e8176e258f5",
    "created_at": "2015-11-13T17:02:25Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "01388bc5-0307-413f-9251-50ef98d2e78b",
    "service_instance_guid": "7106409d-1b7c-4455-b0ae-6523e5869e87",
    "credentials": {
      "creds-key-102": "creds-val-102"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/01388bc5-0307-413f-9251-50ef98d2e78b",
    "service_instance_url": "/v2/service_instances/7106409d-1b7c-4455-b0ae-6523e5869e87"
  }
}

Headers

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