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/5fd68c0e-b36e-4743-8ec7-337d5b84b9d7

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjR9.51qQlybn2Pc1herwMrWIv4Kwfr3Pp3BKJmji8FKc99Q
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/5fd68c0e-b36e-4743-8ec7-337d5b84b9d7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjR9.51qQlybn2Pc1herwMrWIv4Kwfr3Pp3BKJmji8FKc99Q" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5fd68c0e-b36e-4743-8ec7-337d5b84b9d7",
    "url": "/v2/service_bindings/5fd68c0e-b36e-4743-8ec7-337d5b84b9d7",
    "created_at": "2015-06-16T23:41:04Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "8b751959-bc2b-4c3d-b5fe-8773319a7dae",
    "service_instance_guid": "f54f8231-8c79-4c1b-93d9-be80f0c128cd",
    "credentials": {
      "creds-key-578": "creds-val-578"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/8b751959-bc2b-4c3d-b5fe-8773319a7dae",
    "service_instance_url": "/v2/service_instances/f54f8231-8c79-4c1b-93d9-be80f0c128cd"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: def131a5-4844-4ce2-b241-61389626ddf5
Content-Length: 689
X-Content-Type-Options: nosniff