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/55ad6949-f27b-4af0-bd87-1e64b955a8b1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MCIsImVtYWlsIjoiZW1haWwtMTA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTgzOTd9.LI_yLBZbuVvoeqM6nUZxjbWU3ILjgWb_xeGd4WkRYPo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/55ad6949-f27b-4af0-bd87-1e64b955a8b1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MCIsImVtYWlsIjoiZW1haWwtMTA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTgzOTd9.LI_yLBZbuVvoeqM6nUZxjbWU3ILjgWb_xeGd4WkRYPo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "55ad6949-f27b-4af0-bd87-1e64b955a8b1",
    "url": "/v2/service_bindings/55ad6949-f27b-4af0-bd87-1e64b955a8b1",
    "created_at": "2016-04-22T19:33:17Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "01e5fdeb-2628-4d26-b52d-d2c1c252354d",
    "service_instance_guid": "e22f9caa-60ee-4605-a1b4-7b8af5a120d9",
    "credentials": {
      "creds-key-21": "creds-val-21"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/01e5fdeb-2628-4d26-b52d-d2c1c252354d",
    "service_instance_url": "/v2/service_instances/e22f9caa-60ee-4605-a1b4-7b8af5a120d9"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e8ceb0e9-3d95-442c-b239-5b89c64a760b
Content-Length: 687
X-Content-Type-Options: nosniff