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/ed6b51b7-c2d8-4c09-a87c-8adc9cfe2253

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMCIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzN9.X0VIKzsQpnn2fq7h4EfAD4LZ5NgSW-3WbFhazK9jyCc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/ed6b51b7-c2d8-4c09-a87c-8adc9cfe2253" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMCIsImVtYWlsIjoiZW1haWwtMjIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzN9.X0VIKzsQpnn2fq7h4EfAD4LZ5NgSW-3WbFhazK9jyCc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ed6b51b7-c2d8-4c09-a87c-8adc9cfe2253",
    "url": "/v2/service_bindings/ed6b51b7-c2d8-4c09-a87c-8adc9cfe2253",
    "created_at": "2015-03-03T00:51:13Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "066304cf-002f-4fa4-8c1b-a754df832dab",
    "service_instance_guid": "525ce38e-bff6-431c-b3aa-90b7ff6d0ec3",
    "credentials": {
      "creds-key-477": "creds-val-477"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/066304cf-002f-4fa4-8c1b-a754df832dab",
    "service_instance_url": "/v2/service_instances/525ce38e-bff6-431c-b3aa-90b7ff6d0ec3"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 469779e1-1e7c-4a44-82c1-17ab51ab239a
Content-Length: 689
X-Content-Type-Options: nosniff