GET /v2/service_instances/5fac8188-bc20-492b-91b0-6d83e3d06ba9/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 (Note that filtering on service_instance_guid will return an empty list if you specify anything other than the guid included in the path.) |
|
|
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 |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NyIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MTF9.Wp5d5ex_jp8-A1eMEHet6REb04F4LB5Cb9bb39QWwRg Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_instances/5fac8188-bc20-492b-91b0-6d83e3d06ba9/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NyIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MTF9.Wp5d5ex_jp8-A1eMEHet6REb04F4LB5Cb9bb39QWwRg" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "ceeeed2a-7da5-4506-9fc6-309d2fb29a0a", "url": "/v2/service_bindings/ceeeed2a-7da5-4506-9fc6-309d2fb29a0a", "created_at": "2016-04-22T19:33:31Z", "updated_at": null }, "entity": { "app_guid": "0b1af29d-739d-4033-8ccd-fa3a427d3a3b", "service_instance_guid": "5fac8188-bc20-492b-91b0-6d83e3d06ba9", "credentials": { "creds-key-54": "creds-val-54" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/0b1af29d-739d-4033-8ccd-fa3a427d3a3b", "service_instance_url": "/v2/service_instances/5fac8188-bc20-492b-91b0-6d83e3d06ba9" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 5c43fdde-6ba4-40f5-936f-ca33583d60ff Content-Length: 882 X-Content-Type-Options: nosniff