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/a444398e-433e-4b50-9642-5ad11eb3f115

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MiIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NDZ9.ylS_Dp0MXVooVeqM_l7PIaOe7SdUvJuU0FkdU6LTpGs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/a444398e-433e-4b50-9642-5ad11eb3f115" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MiIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NDZ9.ylS_Dp0MXVooVeqM_l7PIaOe7SdUvJuU0FkdU6LTpGs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a444398e-433e-4b50-9642-5ad11eb3f115",
    "url": "/v2/service_bindings/a444398e-433e-4b50-9642-5ad11eb3f115",
    "created_at": "2015-09-11T18:39:06Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "06e814d6-1e8b-4cb6-9bca-f9044c432fb9",
    "service_instance_guid": "4ef28760-13f4-433f-9d4a-b3474c444f6e",
    "credentials": {
      "creds-key-566": "creds-val-566"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/06e814d6-1e8b-4cb6-9bca-f9044c432fb9",
    "service_instance_url": "/v2/service_instances/4ef28760-13f4-433f-9d4a-b3474c444f6e"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2fa94e1f-1e13-46c2-a052-31916d5f79cb
Content-Length: 689
X-Content-Type-Options: nosniff