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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1OCIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.pJ_rXeDK4FTc6nURpujGUkxNdC3E5Tu0B51X1Wor0A8
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/279c08b7-5707-4ec3-bdc3-6966f581a2e7

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/279c08b7-5707-4ec3-bdc3-6966f581a2e7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1OCIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.pJ_rXeDK4FTc6nURpujGUkxNdC3E5Tu0B51X1Wor0A8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 354f6898-a5a3-4d52-842e-af27f421325d
Content-Length: 689
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "279c08b7-5707-4ec3-bdc3-6966f581a2e7",
    "url": "/v2/service_bindings/279c08b7-5707-4ec3-bdc3-6966f581a2e7",
    "created_at": "2015-02-10T01:42:59Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "f635b17d-0f02-4189-a7ad-ee9b6eb93cf9",
    "service_instance_guid": "2f7fca5a-460b-4a33-a3c5-d6ce7818cb73",
    "credentials": {
      "creds-key-579": "creds-val-579"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/f635b17d-0f02-4189-a7ad-ee9b6eb93cf9",
    "service_instance_url": "/v2/service_instances/2f7fca5a-460b-4a33-a3c5-d6ce7818cb73"
  }
}