GET /v2/service_instances/b496c323-8561-4a8d-a8ca-1012328271d7/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 |
---|---|---|---|---|
guid | The guid of the Service Instance. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY1IiwiZW1haWwiOiJlbWFpbC02NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA4fQ.ny0bQ5wfJzG9T3QN72fcrBN2OqNIIsJCKyRfPp2mXrM Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_instances/b496c323-8561-4a8d-a8ca-1012328271d7/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY1IiwiZW1haWwiOiJlbWFpbC02NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA4fQ.ny0bQ5wfJzG9T3QN72fcrBN2OqNIIsJCKyRfPp2mXrM" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "96de9d59-71b4-42a3-b47d-ee78ee0d667c", "url": "/v2/service_bindings/96de9d59-71b4-42a3-b47d-ee78ee0d667c", "created_at": "2015-05-15T16:53:28Z", "updated_at": null }, "entity": { "app_guid": "44e0d2c1-9aeb-4d45-9845-60a46cc88757", "service_instance_guid": "b496c323-8561-4a8d-a8ca-1012328271d7", "credentials": { "creds-key-152": "creds-val-152" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/44e0d2c1-9aeb-4d45-9845-60a46cc88757", "service_instance_url": "/v2/service_instances/b496c323-8561-4a8d-a8ca-1012328271d7" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 0e1f93cb-4481-4c89-8a25-36ee481c7baa Content-Length: 884 X-Content-Type-Options: nosniff