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/ba5002e0-8483-4bc3-a22d-fc397c06fa04

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNyIsImVtYWlsIjoiZW1haWwtMjQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODB9.a2h7K32wo3Ng8F-XvVNVi0RCYvui0c0_lJD-gaDJIjQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/ba5002e0-8483-4bc3-a22d-fc397c06fa04" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNyIsImVtYWlsIjoiZW1haWwtMjQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODB9.a2h7K32wo3Ng8F-XvVNVi0RCYvui0c0_lJD-gaDJIjQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ba5002e0-8483-4bc3-a22d-fc397c06fa04",
    "url": "/v2/service_bindings/ba5002e0-8483-4bc3-a22d-fc397c06fa04",
    "created_at": "2016-01-19T19:41:20Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "e7a59f1a-54c6-457a-ad36-b0dd05daceb1",
    "service_instance_guid": "06e6fcbe-c1f3-4d32-ab85-972b67b1879a",
    "credentials": {
      "creds-key-53": "creds-val-53"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/e7a59f1a-54c6-457a-ad36-b0dd05daceb1",
    "service_instance_url": "/v2/service_instances/06e6fcbe-c1f3-4d32-ab85-972b67b1879a"
  }
}

Headers

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