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/17d16c3c-173b-4001-95c6-08759daa33a5

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1OSIsImVtYWlsIjoiZW1haWwtMzI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDl9.7GKW5TI1jwOZ4hTj4jiRcwPJup3iUcq-2_jgIs_SkwI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/17d16c3c-173b-4001-95c6-08759daa33a5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1OSIsImVtYWlsIjoiZW1haWwtMzI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDl9.7GKW5TI1jwOZ4hTj4jiRcwPJup3iUcq-2_jgIs_SkwI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "17d16c3c-173b-4001-95c6-08759daa33a5",
    "url": "/v2/service_bindings/17d16c3c-173b-4001-95c6-08759daa33a5",
    "created_at": "2016-02-19T02:04:09Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "402b40ba-3a36-439d-b697-e8ad31e76d19",
    "service_instance_guid": "d4369c6d-5eb8-4192-8ee0-832e935fdd78",
    "credentials": {
      "creds-key-71": "creds-val-71"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/402b40ba-3a36-439d-b697-e8ad31e76d19",
    "service_instance_url": "/v2/service_instances/d4369c6d-5eb8-4192-8ee0-832e935fdd78"
  }
}

Headers

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