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/49aa7fec-8206-47a1-a7a9-c5cac5a9cf5b

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.jIKsZyMBerluawTz48HVv3Ta_7GcE2LZHO1c9HhPnOI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/49aa7fec-8206-47a1-a7a9-c5cac5a9cf5b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.jIKsZyMBerluawTz48HVv3Ta_7GcE2LZHO1c9HhPnOI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "49aa7fec-8206-47a1-a7a9-c5cac5a9cf5b",
    "url": "/v2/service_bindings/49aa7fec-8206-47a1-a7a9-c5cac5a9cf5b",
    "created_at": "2015-05-15T16:53:24Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "0a64a018-9565-422a-a330-2ab7c575e0c6",
    "service_instance_guid": "642ab021-32fc-4dc1-87c3-611974393fbe",
    "credentials": {
      "creds-key-65": "creds-val-65"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/0a64a018-9565-422a-a330-2ab7c575e0c6",
    "service_instance_url": "/v2/service_instances/642ab021-32fc-4dc1-87c3-611974393fbe"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 76bebe94-3a59-496e-9e95-a6b8b00e04b1
Content-Length: 687
X-Content-Type-Options: nosniff