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/16bb664a-23c1-42b1-b0a1-a0673e3bf56c

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDl9.m2T80pIYO_0A4Lrb46w0R35M7QNPIAgsq3dekjpMNqE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/16bb664a-23c1-42b1-b0a1-a0673e3bf56c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDl9.m2T80pIYO_0A4Lrb46w0R35M7QNPIAgsq3dekjpMNqE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "16bb664a-23c1-42b1-b0a1-a0673e3bf56c",
    "url": "/v2/service_bindings/16bb664a-23c1-42b1-b0a1-a0673e3bf56c",
    "created_at": "2015-06-04T00:05:09Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "4998804d-19b9-41a1-90df-2c6c7fc145b8",
    "service_instance_guid": "f2452626-981b-4f81-9b51-453b3ae34471",
    "credentials": {
      "creds-key-318": "creds-val-318"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/4998804d-19b9-41a1-90df-2c6c7fc145b8",
    "service_instance_url": "/v2/service_instances/f2452626-981b-4f81-9b51-453b3ae34471"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6648f63c-fb1a-43c7-8f2c-ec434a410359
Content-Length: 689
X-Content-Type-Options: nosniff