GET /v2/apps/2521a602-b674-4c24-b617-20aba7d951ef/service_bindings?service_binding_guid=710ffd48-c70a-4cdc-9665-828defe03899
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the App |
|
|
service_binding_guid | The guid of the service binding |
|
|
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 |
|
|
service_binding_guid: 710ffd48-c70a-4cdc-9665-828defe03899
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODI5fQ.aBY9GJ2lI844zRxUpy6eAZNfr7XRvypo1TXS2_YUeHs Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/apps/2521a602-b674-4c24-b617-20aba7d951ef/service_bindings?service_binding_guid=710ffd48-c70a-4cdc-9665-828defe03899" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODI5fQ.aBY9GJ2lI844zRxUpy6eAZNfr7XRvypo1TXS2_YUeHs" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "f9e1ec4d-8812-4fb9-bd4d-08c6203b4f18", "url": "/v2/service_bindings/f9e1ec4d-8812-4fb9-bd4d-08c6203b4f18", "created_at": "2015-11-03T00:53:49Z", "updated_at": null }, "entity": { "app_guid": "2521a602-b674-4c24-b617-20aba7d951ef", "service_instance_guid": "79d199a5-9397-4dbb-a571-a3e949100dcc", "credentials": { "creds-key-85": "creds-val-85" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/2521a602-b674-4c24-b617-20aba7d951ef", "service_instance_url": "/v2/service_instances/79d199a5-9397-4dbb-a571-a3e949100dcc" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 58c694b4-4b46-480f-8667-6532b9a376f4 Content-Length: 882 X-Content-Type-Options: nosniff