Home
Version 3
Service Bindings API

Service Bindings API

Retrieve a Particular Service Binding

GET /v2/service_bindings/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTc0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDh9.5oqcq0yZUTLH6T93nS1ZQhtX7Qsi_ZjoexRABXvYKBo
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/26c3ca5a-3679-4f25-b089-63f611da734a

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/26c3ca5a-3679-4f25-b089-63f611da734a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTc0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDh9.5oqcq0yZUTLH6T93nS1ZQhtX7Qsi_ZjoexRABXvYKBo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 43003845-f72b-442e-a56a-c2bf6f534da1
Content-Length: 694
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "26c3ca5a-3679-4f25-b089-63f611da734a",
    "url": "/v2/service_bindings/26c3ca5a-3679-4f25-b089-63f611da734a",
    "created_at": "2015-01-20T01:52:28+00:00",
    "updated_at": null
  },
  "entity": {
    "app_guid": "310ab730-62a4-4bef-8f46-f4e659f47b27",
    "service_instance_guid": "92b5f8cb-38b9-4433-82f4-0daa4fbbad69",
    "credentials": {
      "creds-key-396": "creds-val-396"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/310ab730-62a4-4bef-8f46-f4e659f47b27",
    "service_instance_url": "/v2/service_instances/92b5f8cb-38b9-4433-82f4-0daa4fbbad69"
  }
}