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/da89cba9-24ba-45e5-9748-6ebccc86caf7

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTF9.S2BMIRuX-doPYHAvUfNgaL6n_C4ewf7c1w4S62x2C4I
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/da89cba9-24ba-45e5-9748-6ebccc86caf7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTF9.S2BMIRuX-doPYHAvUfNgaL6n_C4ewf7c1w4S62x2C4I" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "da89cba9-24ba-45e5-9748-6ebccc86caf7",
    "url": "/v2/service_bindings/da89cba9-24ba-45e5-9748-6ebccc86caf7",
    "created_at": "2015-07-06T23:23:11Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "d01e5ecb-fd4f-4e30-83e3-cdb3ebc0e1d4",
    "service_instance_guid": "407d0dd4-ff33-4bbf-a9c5-c8f954794386",
    "credentials": {
      "creds-key-399": "creds-val-399"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/d01e5ecb-fd4f-4e30-83e3-cdb3ebc0e1d4",
    "service_instance_url": "/v2/service_instances/407d0dd4-ff33-4bbf-a9c5-c8f954794386"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b7c42f87-5444-40c8-ab24-b933db7935c5
Content-Length: 689
X-Content-Type-Options: nosniff