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/5698baf3-64fd-4601-9e89-5b5ee63adcb1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDV9.1fDOepaBOGZoJFmUKEZu2-TX74QONnPI1Xasnm-wDMs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/5698baf3-64fd-4601-9e89-5b5ee63adcb1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDV9.1fDOepaBOGZoJFmUKEZu2-TX74QONnPI1Xasnm-wDMs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5698baf3-64fd-4601-9e89-5b5ee63adcb1",
    "url": "/v2/service_bindings/5698baf3-64fd-4601-9e89-5b5ee63adcb1",
    "created_at": "2015-09-30T23:30:45Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "ebfbbf07-5a6a-4e9a-b8ca-6b7825e1d5c2",
    "service_instance_guid": "1fe52f67-0901-41d3-b018-cdcc81b71fef",
    "credentials": {
      "creds-key-319": "creds-val-319"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/ebfbbf07-5a6a-4e9a-b8ca-6b7825e1d5c2",
    "service_instance_url": "/v2/service_instances/1fe52f67-0901-41d3-b018-cdcc81b71fef"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0052b346-7602-4182-90d2-b2a9dc4261b7
Content-Length: 689
X-Content-Type-Options: nosniff