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/aeb6f998-8b4e-4d45-bccf-43e6ea8c77bf

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMzA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NTN9.AIs8AFXL-TTkozvP_YbKvHg2V6PQsGmqGn5PQiPOBRQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/aeb6f998-8b4e-4d45-bccf-43e6ea8c77bf" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMzA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NTN9.AIs8AFXL-TTkozvP_YbKvHg2V6PQsGmqGn5PQiPOBRQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "aeb6f998-8b4e-4d45-bccf-43e6ea8c77bf",
    "url": "/v2/service_bindings/aeb6f998-8b4e-4d45-bccf-43e6ea8c77bf",
    "created_at": "2016-03-14T22:30:53Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "bdf35716-62d4-4e4e-b35f-0d0993fe92c3",
    "service_instance_guid": "0576f11b-aae0-4f0d-8b4b-58bf3db81333",
    "credentials": {
      "creds-key-63": "creds-val-63"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/bdf35716-62d4-4e4e-b35f-0d0993fe92c3",
    "service_instance_url": "/v2/service_instances/0576f11b-aae0-4f0d-8b4b-58bf3db81333"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 687
X-Content-Type-Options: nosniff