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/78c2a986-d227-45cf-bb64-97678ac9d02f

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtODNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk4M30.Mc7ETd-SxarIWJBupt7njvVLsakFi2VNN6hmIw4H8BQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/78c2a986-d227-45cf-bb64-97678ac9d02f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtODNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk4M30.Mc7ETd-SxarIWJBupt7njvVLsakFi2VNN6hmIw4H8BQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "78c2a986-d227-45cf-bb64-97678ac9d02f",
    "url": "/v2/service_bindings/78c2a986-d227-45cf-bb64-97678ac9d02f",
    "created_at": "2015-05-21T01:03:02Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "ee09f641-c875-4aa0-9c47-407a0f8b86c7",
    "service_instance_guid": "edf6e189-def8-4734-8a90-0c0f7ba0c773",
    "credentials": {
      "creds-key-179": "creds-val-179"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/ee09f641-c875-4aa0-9c47-407a0f8b86c7",
    "service_instance_url": "/v2/service_instances/edf6e189-def8-4734-8a90-0c0f7ba0c773"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 36a0ba13-e81a-4267-81e0-4e5629321ebd
Content-Length: 689
X-Content-Type-Options: nosniff