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/e8f11e1b-3aae-4708-b5bb-48c0d13e3e79

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjc4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTF9.a7n9A3vxVrBzlL9cBHwUR02pZgkhvSqW_2tYq7YBq1A
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/e8f11e1b-3aae-4708-b5bb-48c0d13e3e79" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjc4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTF9.a7n9A3vxVrBzlL9cBHwUR02pZgkhvSqW_2tYq7YBq1A" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e8f11e1b-3aae-4708-b5bb-48c0d13e3e79",
    "url": "/v2/service_bindings/e8f11e1b-3aae-4708-b5bb-48c0d13e3e79",
    "created_at": "2015-04-15T00:55:51Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "78c5e991-8895-48af-a69c-de6d743fcc22",
    "service_instance_guid": "88796144-386d-4b3a-aff6-005a2126b5f9",
    "credentials": {
      "creds-key-612": "creds-val-612"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/78c5e991-8895-48af-a69c-de6d743fcc22",
    "service_instance_url": "/v2/service_instances/88796144-386d-4b3a-aff6-005a2126b5f9"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3b5e7978-feb9-4ee1-9255-212118aa5972
Content-Length: 689
X-Content-Type-Options: nosniff