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/6acfd95d-3f0d-48bc-82df-a0ff448d4416

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzZ9.Fp6sjeFn9lUGaQc3kyq2KuW4wJZNp_rkCqnYu2sb4GY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/6acfd95d-3f0d-48bc-82df-a0ff448d4416" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzZ9.Fp6sjeFn9lUGaQc3kyq2KuW4wJZNp_rkCqnYu2sb4GY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "6acfd95d-3f0d-48bc-82df-a0ff448d4416",
    "url": "/v2/service_bindings/6acfd95d-3f0d-48bc-82df-a0ff448d4416",
    "created_at": "2015-05-07T23:37:16Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "f2daa8ec-bdbc-4052-8ecb-ff0404752ae6",
    "service_instance_guid": "788a9ca9-f589-4109-9a44-53826cb4f1f2",
    "credentials": {
      "creds-key-325": "creds-val-325"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/f2daa8ec-bdbc-4052-8ecb-ff0404752ae6",
    "service_instance_url": "/v2/service_instances/788a9ca9-f589-4109-9a44-53826cb4f1f2"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e6b9f13f-c340-432c-bcf0-851ee6238b3d
Content-Length: 689
X-Content-Type-Options: nosniff