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/a7f7a1bb-ea6d-4cff-a1ac-d5d387b5388c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIiLCJlbWFpbCI6ImVtYWlsLTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc4Nn0.GsUH3s-VWXrl46LokvDl1XwXGgddiunzxMEliAJ44BQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/a7f7a1bb-ea6d-4cff-a1ac-d5d387b5388c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIiLCJlbWFpbCI6ImVtYWlsLTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc4Nn0.GsUH3s-VWXrl46LokvDl1XwXGgddiunzxMEliAJ44BQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a7f7a1bb-ea6d-4cff-a1ac-d5d387b5388c",
    "url": "/v2/service_bindings/a7f7a1bb-ea6d-4cff-a1ac-d5d387b5388c",
    "created_at": "2015-07-27T22:43:06Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "9a892009-e228-4ae4-a21c-ab0021f8f890",
    "service_instance_guid": "5b3dbe5a-64ca-4a4b-957a-9f4cbdeb4a2f",
    "credentials": {
      "creds-key-7": "creds-val-7"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/9a892009-e228-4ae4-a21c-ab0021f8f890",
    "service_instance_url": "/v2/service_instances/5b3dbe5a-64ca-4a4b-957a-9f4cbdeb4a2f"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 643511f4-285e-43f6-8d66-e9f9c91d04a8
Content-Length: 685
X-Content-Type-Options: nosniff