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.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNyIsImVtYWlsIjoiZW1haWwtMTY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzN9.FC11NDKParZgzB31G1E6I5l5p7ZaKhfPSvVEPLbHvIY
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/c115a6df-100e-45e4-b28d-b304a121c677

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/c115a6df-100e-45e4-b28d-b304a121c677" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNyIsImVtYWlsIjoiZW1haWwtMTY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzN9.FC11NDKParZgzB31G1E6I5l5p7ZaKhfPSvVEPLbHvIY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a4f24d07-dfd0-4205-ad3a-de056f567611
Content-Length: 689
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "c115a6df-100e-45e4-b28d-b304a121c677",
    "url": "/v2/service_bindings/c115a6df-100e-45e4-b28d-b304a121c677",
    "created_at": "2015-02-12T01:42:13Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "dd395087-1092-4005-8b41-e5077a3f3112",
    "service_instance_guid": "2319b092-0886-4caf-a138-a4405bcd3014",
    "credentials": {
      "creds-key-381": "creds-val-381"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/dd395087-1092-4005-8b41-e5077a3f3112",
    "service_instance_url": "/v2/service_instances/2319b092-0886-4caf-a138-a4405bcd3014"
  }
}