GET /v2/service_bindings
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. |
|
|
orphan-relations | 0 - de-duplicate object entries in response |
|
|
exclude-relations | comma-delimited list of relations to drop from response |
|
|
include-relations | comma-delimited list of the only relations to include in response |
|
|
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.hvmTHnCBylPkrmy89fPsz7bDyMJ0dUp26LbAKAMxqHc Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA0fQ.hvmTHnCBylPkrmy89fPsz7bDyMJ0dUp26LbAKAMxqHc" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "253f8acc-01a2-409b-b47e-f04f127f9962", "url": "/v2/service_bindings/253f8acc-01a2-409b-b47e-f04f127f9962", "created_at": "2015-05-15T16:53:24Z", "updated_at": null }, "entity": { "app_guid": "7130e85b-8848-4da4-85b2-613904ff42bb", "service_instance_guid": "a694a195-2ac0-4aed-8eb2-544ba7b48b35", "credentials": { "creds-key-61": "creds-val-61" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/7130e85b-8848-4da4-85b2-613904ff42bb", "service_instance_url": "/v2/service_instances/a694a195-2ac0-4aed-8eb2-544ba7b48b35" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 44e857ac-1a3b-446a-a1da-ffdd0f92017f Content-Length: 882 X-Content-Type-Options: nosniff