Name | Description | Default | Valid Values | Example Values |
---|
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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMiIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEzNX0.o3HqtPCEgWnvA_sgkDVIlH83YBOSZ_jcp4mNpr5Lrw4 Host: example.org Cookie:
GET /v2/service_bindings
curl "https://api.[your-domain.com]/v2/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMiIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEzNX0.o3HqtPCEgWnvA_sgkDVIlH83YBOSZ_jcp4mNpr5Lrw4" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: e9def859-284f-4fc8-942b-5598ebac1f8f Content-Length: 889 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "d29c27f7-0f39-43c1-85a2-9f15893377f2", "url": "/v2/service_bindings/d29c27f7-0f39-43c1-85a2-9f15893377f2", "created_at": "2014-11-05T01:02:15+00:00", "updated_at": null }, "entity": { "app_guid": "1c7acf85-5ff3-46b0-80e2-e6303be4bdf5", "service_instance_guid": "a86c81ce-ac7b-4331-8149-a586ca1be484", "credentials": { "creds-key-161": "creds-val-161" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/1c7acf85-5ff3-46b0-80e2-e6303be4bdf5", "service_instance_url": "/v2/service_instances/a86c81ce-ac7b-4331-8149-a586ca1be484" } } ] }