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/2d7f5b47-41bc-498e-bc2d-1a03c0c06e53

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtNzFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3NX0.WsSbBcML-Lu8Jumoz8LPrqA23Sk8jdYOWDt_2qUBvgY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/2d7f5b47-41bc-498e-bc2d-1a03c0c06e53" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtNzFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3NX0.WsSbBcML-Lu8Jumoz8LPrqA23Sk8jdYOWDt_2qUBvgY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2d7f5b47-41bc-498e-bc2d-1a03c0c06e53",
    "url": "/v2/service_bindings/2d7f5b47-41bc-498e-bc2d-1a03c0c06e53",
    "created_at": "2016-01-13T17:29:34Z",
    "updated_at": null
  },
  "entity": {
    "app_guid": "1fdc72da-edc7-45d0-b9db-cc6a2d7b3719",
    "service_instance_guid": "58e8a836-70b9-4403-a16d-2519b10815eb",
    "credentials": {
      "creds-key-22": "creds-val-22"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/1fdc72da-edc7-45d0-b9db-cc6a2d7b3719",
    "service_instance_url": "/v2/service_instances/58e8a836-70b9-4403-a16d-2519b10815eb"
  }
}

Headers

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