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/d562a69e-70c3-438e-9f87-e5b3bfcaaf4e

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5Njd9.DIYVCGRVVcSbJC5b517Z1ysKQ26m7FLScxLvExO3bBc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/d562a69e-70c3-438e-9f87-e5b3bfcaaf4e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5Njd9.DIYVCGRVVcSbJC5b517Z1ysKQ26m7FLScxLvExO3bBc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d562a69e-70c3-438e-9f87-e5b3bfcaaf4e",
    "url": "/v2/service_bindings/d562a69e-70c3-438e-9f87-e5b3bfcaaf4e",
    "created_at": "2015-03-18T22:52:47Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "4b46a873-e4d3-4709-ba6e-bbd7fb579b01",
    "service_instance_guid": "d5d15531-056a-4f22-8519-af45e40cbe85",
    "credentials": {
      "creds-key-324": "creds-val-324"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/4b46a873-e4d3-4709-ba6e-bbd7fb579b01",
    "service_instance_url": "/v2/service_instances/d5d15531-056a-4f22-8519-af45e40cbe85"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7598fb25-f28f-4bea-9d41-40bdc605aed3
Content-Length: 689
X-Content-Type-Options: nosniff