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/fa138d43-dd3a-457c-8797-7658f5f322af

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NiIsImVtYWlsIjoiZW1haWwtMjc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTd9.s9WvEl2pJ_PGGMGQn4tY48CKhOlYrUxPw4FLq3G2QR8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/fa138d43-dd3a-457c-8797-7658f5f322af" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NiIsImVtYWlsIjoiZW1haWwtMjc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTd9.s9WvEl2pJ_PGGMGQn4tY48CKhOlYrUxPw4FLq3G2QR8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fa138d43-dd3a-457c-8797-7658f5f322af",
    "url": "/v2/service_bindings/fa138d43-dd3a-457c-8797-7658f5f322af",
    "created_at": "2015-08-31T21:50:17Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "6dad0edf-ee14-4b09-ba3d-a2a152670615",
    "service_instance_guid": "0b7a4b4a-84fd-4b8c-ace6-49de3699be05",
    "credentials": {
      "creds-key-617": "creds-val-617"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/6dad0edf-ee14-4b09-ba3d-a2a152670615",
    "service_instance_url": "/v2/service_instances/0b7a4b4a-84fd-4b8c-ace6-49de3699be05"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bbd3f096-e9d9-4422-a26a-7967e2ea21eb
Content-Length: 689
X-Content-Type-Options: nosniff