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.eyJ1c2VyX2lkIjoidWFhLWlkLTE3IiwiZW1haWwiOiJlbWFpbC0xN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYxfQ.dYxleK-fQcWuzeT_IyKHYVUB3agyZr4DimVf61WQzBc
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/a04fdc13-665d-45fe-9620-d4d5286da47b

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/a04fdc13-665d-45fe-9620-d4d5286da47b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3IiwiZW1haWwiOiJlbWFpbC0xN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYxfQ.dYxleK-fQcWuzeT_IyKHYVUB3agyZr4DimVf61WQzBc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 931c0da8-b083-4fd1-a734-9cb29ab0cec4
Content-Length: 692
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "a04fdc13-665d-45fe-9620-d4d5286da47b",
    "url": "/v2/service_bindings/a04fdc13-665d-45fe-9620-d4d5286da47b",
    "created_at": "2014-12-24T01:39:21+00:00",
    "updated_at": null
  },
  "entity": {
    "app_guid": "da20d0f3-a500-4e12-83b1-ef7b135dfce0",
    "service_instance_guid": "8a086972-8d62-48b9-9c99-1f54c129d131",
    "credentials": {
      "creds-key-40": "creds-val-40"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/da20d0f3-a500-4e12-83b1-ef7b135dfce0",
    "service_instance_url": "/v2/service_instances/8a086972-8d62-48b9-9c99-1f54c129d131"
  }
}