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/49837e55-8446-452c-b362-a9cd36c83bc4

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtMTA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NDN9.HfWNG_OuuUK5IlDrN2ZCbH1eCiPPHuTkMxRSpMDnySg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/49837e55-8446-452c-b362-a9cd36c83bc4" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtMTA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NDN9.HfWNG_OuuUK5IlDrN2ZCbH1eCiPPHuTkMxRSpMDnySg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "49837e55-8446-452c-b362-a9cd36c83bc4",
    "url": "/v2/service_bindings/49837e55-8446-452c-b362-a9cd36c83bc4",
    "created_at": "2016-04-06T00:17:23Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "47f6c6f8-a66c-4a0b-9ea3-81a949b20ec8",
    "service_instance_guid": "23b3716a-de10-4682-a33c-cfe6d06a7b42",
    "credentials": {
      "creds-key-19": "creds-val-19"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/47f6c6f8-a66c-4a0b-9ea3-81a949b20ec8",
    "service_instance_url": "/v2/service_instances/23b3716a-de10-4682-a33c-cfe6d06a7b42"
  }
}

Headers

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