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/34bd6267-8277-4b4a-ad7f-6bc222e46c07

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTB9.cBjcVZPD31yQRLG9AM3cwfyvsNBE0OUWOZdoBRMaBPI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/34bd6267-8277-4b4a-ad7f-6bc222e46c07" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTB9.cBjcVZPD31yQRLG9AM3cwfyvsNBE0OUWOZdoBRMaBPI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "34bd6267-8277-4b4a-ad7f-6bc222e46c07",
    "url": "/v2/service_bindings/34bd6267-8277-4b4a-ad7f-6bc222e46c07",
    "created_at": "2015-10-13T17:31:50Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "98afe248-8c73-4bcd-8933-7bd72c9532b7",
    "service_instance_guid": "1e5fb46e-0ff4-4b57-9366-ae930bf3730e",
    "credentials": {
      "creds-key-358": "creds-val-358"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/98afe248-8c73-4bcd-8933-7bd72c9532b7",
    "service_instance_url": "/v2/service_instances/1e5fb46e-0ff4-4b57-9366-ae930bf3730e"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9435444a-8413-4fa2-b04c-2d926b5201ac
Content-Length: 689
X-Content-Type-Options: nosniff