Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
guid | The guid of the Service Instance. |
|
|
Name | Description | Valid Values | Example Values |
---|---|---|---|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: app_guid, service_instance_guid |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
inline-relations-depth | 0 - don't inline any relations and return URLs. Otherwise, inline to depth N. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExIiwiZW1haWwiOiJlbWFpbC0xMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE1NzU0MTMwfQ.tfUKkLmEqv40wK6s7dO-mkqdemnjSjIJI3DVoGILc1w Host: example.org Cookie:
GET /v2/service_instances/cdd3e470-4a91-4401-90cd-66e4d358a0ae/service_bindings
curl "https://api.[your-domain.com]/v2/service_instances/cdd3e470-4a91-4401-90cd-66e4d358a0ae/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExIiwiZW1haWwiOiJlbWFpbC0xMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE1NzU0MTMwfQ.tfUKkLmEqv40wK6s7dO-mkqdemnjSjIJI3DVoGILc1w" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: f216ddd7-55f6-43aa-b2ea-9786ef69ae9f Content-Length: 887 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "0181e232-e415-4af8-8fbd-4e6464fdbd8e", "url": "/v2/service_bindings/0181e232-e415-4af8-8fbd-4e6464fdbd8e", "created_at": "2014-11-05T01:02:09+00:00", "updated_at": null }, "entity": { "app_guid": "37dcff50-3437-4abf-83b9-75d062b78b9a", "service_instance_guid": "cdd3e470-4a91-4401-90cd-66e4d358a0ae", "credentials": { "creds-key-31": "creds-val-31" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/37dcff50-3437-4abf-83b9-75d062b78b9a", "service_instance_url": "/v2/service_instances/cdd3e470-4a91-4401-90cd-66e4d358a0ae" } } ] }