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/ae5b68e3-334c-43e6-9617-fa059dfcc09f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIiLCJlbWFpbCI6ImVtYWlsLTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODg1NTY2M30.jZsZ1vO66jjP1U1h9sLS09IAGUCLIkSAZk3V6pb5XN4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/ae5b68e3-334c-43e6-9617-fa059dfcc09f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIiLCJlbWFpbCI6ImVtYWlsLTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODg1NTY2M30.jZsZ1vO66jjP1U1h9sLS09IAGUCLIkSAZk3V6pb5XN4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ae5b68e3-334c-43e6-9617-fa059dfcc09f",
    "url": "/v2/service_bindings/ae5b68e3-334c-43e6-9617-fa059dfcc09f",
    "created_at": "2016-03-17T21:41:03Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "ca891364-6a0e-4097-b644-84a834d0faa9",
    "service_instance_guid": "3d8a7586-c465-4b0e-ae91-dfac434b79de",
    "credentials": {
      "creds-key-3": "creds-val-3"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/ca891364-6a0e-4097-b644-84a834d0faa9",
    "service_instance_url": "/v2/service_instances/3d8a7586-c465-4b0e-ae91-dfac434b79de"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 685
X-Content-Type-Options: nosniff