GET /v2/service_instances/352a9d84-b7c3-43ac-abb3-24a368e6072f/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MSIsImVtYWlsIjoiZW1haWwtMTkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2Mzh9.BHoTgG2oVrwP4gnkNBweiiLZ-6m-eEXggs_9DQpjwmU Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_instances/352a9d84-b7c3-43ac-abb3-24a368e6072f/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MSIsImVtYWlsIjoiZW1haWwtMTkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2Mzh9.BHoTgG2oVrwP4gnkNBweiiLZ-6m-eEXggs_9DQpjwmU" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "80074b7e-4d2e-49ad-87ef-293eb75a7a29", "url": "/v2/service_bindings/80074b7e-4d2e-49ad-87ef-293eb75a7a29", "created_at": "2016-04-16T01:23:58Z", "updated_at": null }, "entity": { "app_guid": "9ff162ff-0caf-43ad-b63a-c56a48846630", "service_instance_guid": "352a9d84-b7c3-43ac-abb3-24a368e6072f", "credentials": { "creds-key-37": "creds-val-37" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/9ff162ff-0caf-43ad-b63a-c56a48846630", "service_instance_url": "/v2/service_instances/352a9d84-b7c3-43ac-abb3-24a368e6072f" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: c2298e73-109d-4a9f-9f14-6f433a6761e9 Content-Length: 882 X-Content-Type-Options: nosniff