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/b9dce92a-69ed-4750-ac9e-7ebc304b18f1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNSIsImVtYWlsIjoiZW1haWwtMzE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTh9.86XpwjPu4lbUmCX6N2jLbRlW-zLHAwmhNAdpPGBsTZo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/b9dce92a-69ed-4750-ac9e-7ebc304b18f1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNSIsImVtYWlsIjoiZW1haWwtMzE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTh9.86XpwjPu4lbUmCX6N2jLbRlW-zLHAwmhNAdpPGBsTZo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b9dce92a-69ed-4750-ac9e-7ebc304b18f1",
    "url": "/v2/service_bindings/b9dce92a-69ed-4750-ac9e-7ebc304b18f1",
    "created_at": "2015-08-06T00:36:58Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "65f75ea6-87ff-45f5-8323-996d7fbede3c",
    "service_instance_guid": "5c1c94f0-ee7f-45a0-bf2a-5e99929cd75a",
    "credentials": {
      "creds-key-699": "creds-val-699"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/65f75ea6-87ff-45f5-8323-996d7fbede3c",
    "service_instance_url": "/v2/service_instances/5c1c94f0-ee7f-45a0-bf2a-5e99929cd75a"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 59617772-72f2-42c3-808a-3a77f901c85e
Content-Length: 689
X-Content-Type-Options: nosniff