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/4c537d2e-93db-41aa-bad6-f6c8e55dca07

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxOSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDV9.wVe5omHKT7LCNgBbMRf0qV7am9-LJJORuGBYhfWSTH8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/4c537d2e-93db-41aa-bad6-f6c8e55dca07" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxOSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDV9.wVe5omHKT7LCNgBbMRf0qV7am9-LJJORuGBYhfWSTH8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4c537d2e-93db-41aa-bad6-f6c8e55dca07",
    "url": "/v2/service_bindings/4c537d2e-93db-41aa-bad6-f6c8e55dca07",
    "created_at": "2015-10-07T00:35:45Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "be86225c-b77f-46e6-8050-6fa22ddbf7d4",
    "service_instance_guid": "eeebcef0-0941-4e57-ad27-8806bc771fe5",
    "credentials": {
      "creds-key-633": "creds-val-633"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/be86225c-b77f-46e6-8050-6fa22ddbf7d4",
    "service_instance_url": "/v2/service_instances/eeebcef0-0941-4e57-ad27-8806bc771fe5"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 65f6f0b2-73e4-41f2-8ee5-2569d119a047
Content-Length: 689
X-Content-Type-Options: nosniff