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/4c43aba3-e991-47af-a025-5ed912704a8e

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Binding

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MCIsImVtYWlsIjoiZW1haWwtMjkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NjZ9.gkx2fZ7D9aFwvZzyVlsoT0YdQUItHYR61b84mv9-wqI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/4c43aba3-e991-47af-a025-5ed912704a8e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MCIsImVtYWlsIjoiZW1haWwtMjkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NjZ9.gkx2fZ7D9aFwvZzyVlsoT0YdQUItHYR61b84mv9-wqI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4c43aba3-e991-47af-a025-5ed912704a8e",
    "url": "/v2/service_bindings/4c43aba3-e991-47af-a025-5ed912704a8e",
    "created_at": "2015-03-05T19:16:06Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "c02d3db9-5122-44e8-901f-58c8498adb42",
    "service_instance_guid": "67120515-44ce-491e-be25-ca4d603e6032",
    "credentials": {
      "creds-key-638": "creds-val-638"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/c02d3db9-5122-44e8-901f-58c8498adb42",
    "service_instance_url": "/v2/service_instances/67120515-44ce-491e-be25-ca4d603e6032"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 296d4277-83bb-4291-9e46-271a705ce211
Content-Length: 689
X-Content-Type-Options: nosniff