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/a54e9950-193e-4e35-98a4-2403674c1e90

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MjB9.7-8OJWbVG-T0z6pvlSv3PIMGMatQG74WKA7nw7CC8iE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/a54e9950-193e-4e35-98a4-2403674c1e90" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MjB9.7-8OJWbVG-T0z6pvlSv3PIMGMatQG74WKA7nw7CC8iE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a54e9950-193e-4e35-98a4-2403674c1e90",
    "url": "/v2/service_bindings/a54e9950-193e-4e35-98a4-2403674c1e90",
    "created_at": "2015-03-10T23:12:00Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "f0d46e69-fe32-4701-974a-20fcab2b3628",
    "service_instance_guid": "997ac669-e528-47cc-bd4e-9d6712e91093",
    "credentials": {
      "creds-key-542": "creds-val-542"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/f0d46e69-fe32-4701-974a-20fcab2b3628",
    "service_instance_url": "/v2/service_instances/997ac669-e528-47cc-bd4e-9d6712e91093"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 40214a31-d914-47af-99df-298f43b7f783
Content-Length: 689
X-Content-Type-Options: nosniff