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/9ae4b266-b737-438b-81e0-689cc7ac7ca2

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OCIsImVtYWlsIjoiZW1haWwtMTIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTF9.mIPOYAhMVyBG0I5jdaS7lwG4LHFeA2af4gytB1FfcD8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/9ae4b266-b737-438b-81e0-689cc7ac7ca2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OCIsImVtYWlsIjoiZW1haWwtMTIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTF9.mIPOYAhMVyBG0I5jdaS7lwG4LHFeA2af4gytB1FfcD8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "9ae4b266-b737-438b-81e0-689cc7ac7ca2",
    "url": "/v2/service_bindings/9ae4b266-b737-438b-81e0-689cc7ac7ca2",
    "created_at": "2015-03-20T18:27:31Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "bca8ff7e-8fba-49cb-8b20-75119711ba14",
    "service_instance_guid": "b598d572-0052-4c4a-9286-ee5d0595c771",
    "credentials": {
      "creds-key-274": "creds-val-274"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/bca8ff7e-8fba-49cb-8b20-75119711ba14",
    "service_instance_url": "/v2/service_instances/b598d572-0052-4c4a-9286-ee5d0595c771"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8f3d4117-8e74-4b6c-ad1c-141576a73d13
Content-Length: 689
X-Content-Type-Options: nosniff