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/be96023a-5800-46fe-a27d-46cb66f06588

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MTZ9.vcXlSoLNP7jtj6zclsx6syunvikbfe9crKsytvu_JIE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/be96023a-5800-46fe-a27d-46cb66f06588" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MTZ9.vcXlSoLNP7jtj6zclsx6syunvikbfe9crKsytvu_JIE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "be96023a-5800-46fe-a27d-46cb66f06588",
    "url": "/v2/service_bindings/be96023a-5800-46fe-a27d-46cb66f06588",
    "created_at": "2016-05-12T00:45:16Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "3ccdd836-fead-431f-b54d-eac8e0f4778c",
    "service_instance_guid": "8ee8c3c3-cfd6-4d33-bf5b-c4af1d69b1eb",
    "credentials": {
      "creds-key-33": "creds-val-33"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "volume_mounts": [

    ],
    "app_url": "/v2/apps/3ccdd836-fead-431f-b54d-eac8e0f4778c",
    "service_instance_url": "/v2/service_instances/8ee8c3c3-cfd6-4d33-bf5b-c4af1d69b1eb"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: eaa24f68-c0ba-469d-90b5-4bd46d1a549e
Content-Length: 718
X-Content-Type-Options: nosniff