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/1817263c-00c3-4877-8812-30c7f5d23e5e

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1NDQ1MTYwNX0.GHY4lTq4c9M8uPaJGfudzRc2usQ1LaDgYUFWaf_KFkw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/1817263c-00c3-4877-8812-30c7f5d23e5e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1NDQ1MTYwNX0.GHY4lTq4c9M8uPaJGfudzRc2usQ1LaDgYUFWaf_KFkw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "1817263c-00c3-4877-8812-30c7f5d23e5e",
    "url": "/v2/service_bindings/1817263c-00c3-4877-8812-30c7f5d23e5e",
    "created_at": "2016-01-26T22:20:05Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "5a1e511f-c3fe-40b7-b8e8-fe18dee7107e",
    "service_instance_guid": "8dbbcdcb-4690-4d90-8e0a-80ca3eba9234",
    "credentials": {
      "creds-key-6": "creds-val-6"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/5a1e511f-c3fe-40b7-b8e8-fe18dee7107e",
    "service_instance_url": "/v2/service_instances/8dbbcdcb-4690-4d90-8e0a-80ca3eba9234"
  }
}

Headers

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