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/d7889a1f-c5b6-468d-8048-e145d103b9fb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNyIsImVtYWlsIjoiZW1haWwtMTMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NDV9.BC1E4jS8Olso5VT091SbS3bT_dl-16fgdIJ2FcRgJQ8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/d7889a1f-c5b6-468d-8048-e145d103b9fb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNyIsImVtYWlsIjoiZW1haWwtMTMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NDV9.BC1E4jS8Olso5VT091SbS3bT_dl-16fgdIJ2FcRgJQ8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d7889a1f-c5b6-468d-8048-e145d103b9fb",
    "url": "/v2/service_bindings/d7889a1f-c5b6-468d-8048-e145d103b9fb",
    "created_at": "2015-10-15T23:52:25Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "59712efd-f1e4-4155-bb4b-34e0d61d6884",
    "service_instance_guid": "3dcffc3e-ce60-43bc-b96d-e8798a209802",
    "credentials": {
      "creds-key-295": "creds-val-295"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/59712efd-f1e4-4155-bb4b-34e0d61d6884",
    "service_instance_url": "/v2/service_instances/3dcffc3e-ce60-43bc-b96d-e8798a209802"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a5e1b684-56af-45f1-8c99-e79cc98e28b8
Content-Length: 689
X-Content-Type-Options: nosniff