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.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC00NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg3fQ.PzMZF0UERWSLTI6mjgJN78GgsnTAS5bbp9jQvZUngxQ
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/7f585119-865f-40bc-8668-2e30cd4f8255

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/7f585119-865f-40bc-8668-2e30cd4f8255" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC00NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg3fQ.PzMZF0UERWSLTI6mjgJN78GgsnTAS5bbp9jQvZUngxQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e2439d75-2f12-4394-9c4d-d84043e8e441
Content-Length: 687
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "7f585119-865f-40bc-8668-2e30cd4f8255",
    "url": "/v2/service_bindings/7f585119-865f-40bc-8668-2e30cd4f8255",
    "created_at": "2015-02-13T22:34:47Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "38272c2a-322f-4c8a-86bc-c0f9a7b366ff",
    "service_instance_guid": "f30ababe-b0de-47a7-87aa-68b88f6738ae",
    "credentials": {
      "creds-key-93": "creds-val-93"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/38272c2a-322f-4c8a-86bc-c0f9a7b366ff",
    "service_instance_url": "/v2/service_instances/f30ababe-b0de-47a7-87aa-68b88f6738ae"
  }
}