Home
Version 3
Service Bindings API

Service Bindings API

Retrieve a Particular Service Binding

GET /v2/service_bindings/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Binding

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MyIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.eYGRSJllTQv1OIEXQ87g2UeXgw8qit-DVCFM7A66e8g
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/612cd37b-67d8-44ab-9409-ed4e65bff103

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/612cd37b-67d8-44ab-9409-ed4e65bff103" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MyIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.eYGRSJllTQv1OIEXQ87g2UeXgw8qit-DVCFM7A66e8g" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ed100ad3-4548-4b7a-b891-dcff7e371a66
Content-Length: 689
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "612cd37b-67d8-44ab-9409-ed4e65bff103",
    "url": "/v2/service_bindings/612cd37b-67d8-44ab-9409-ed4e65bff103",
    "created_at": "2015-01-27T19:14:38Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "7ef5f2aa-c865-449a-9cba-d51a5486961b",
    "service_instance_guid": "004cbe13-1045-400d-849a-eb8dca36af6e",
    "credentials": {
      "creds-key-425": "creds-val-425"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/7ef5f2aa-c865-449a-9cba-d51a5486961b",
    "service_instance_url": "/v2/service_instances/004cbe13-1045-400d-849a-eb8dca36af6e"
  }
}