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/86040972-7a1f-43e0-9ac9-1ecdc247c636

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMyIsImVtYWlsIjoiZW1haWwtMjg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTl9.129rkWcj6gb5bafNex-rwCczP2y-_y5e9pL3jR1DUnY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/86040972-7a1f-43e0-9ac9-1ecdc247c636" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMyIsImVtYWlsIjoiZW1haWwtMjg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTl9.129rkWcj6gb5bafNex-rwCczP2y-_y5e9pL3jR1DUnY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "86040972-7a1f-43e0-9ac9-1ecdc247c636",
    "url": "/v2/service_bindings/86040972-7a1f-43e0-9ac9-1ecdc247c636",
    "created_at": "2015-12-22T18:28:19Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "244fbbdc-fc4b-4abe-bf81-b66a845ccfdd",
    "service_instance_guid": "abd8daeb-5d16-4f5d-aab5-c4248157e958",
    "credentials": {
      "creds-key-627": "creds-val-627"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/244fbbdc-fc4b-4abe-bf81-b66a845ccfdd",
    "service_instance_url": "/v2/service_instances/abd8daeb-5d16-4f5d-aab5-c4248157e958"
  }
}

Headers

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