GET /v2/apps/00d9dee0-7aac-404e-bc84-4ba2314d915c/service_bindings?service_binding_guid=b54e30d6-d2b5-46fb-be35-d8262ec28c6f
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: b54e30d6-d2b5-46fb-be35-d8262ec28c6f
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NCIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzM30.BWz-FEABS-JbsaqvnzNJ5lUpDDsD7USTQdJkY-A2lx0 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/apps/00d9dee0-7aac-404e-bc84-4ba2314d915c/service_bindings?service_binding_guid=b54e30d6-d2b5-46fb-be35-d8262ec28c6f" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NCIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzM30.BWz-FEABS-JbsaqvnzNJ5lUpDDsD7USTQdJkY-A2lx0" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "1353697d-e297-4969-a524-0d2c8fcce1f9", "url": "/v2/service_bindings/1353697d-e297-4969-a524-0d2c8fcce1f9", "created_at": "2015-09-11T18:38:52Z", "updated_at": null }, "entity": { "app_guid": "00d9dee0-7aac-404e-bc84-4ba2314d915c", "service_instance_guid": "747985a0-7501-4cbe-a0a3-504a7ac2ca6c", "credentials": { "creds-key-219": "creds-val-219" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/00d9dee0-7aac-404e-bc84-4ba2314d915c", "service_instance_url": "/v2/service_instances/747985a0-7501-4cbe-a0a3-504a7ac2ca6c" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 5712937a-21c0-42a0-b132-57f15eb5f35d Content-Length: 884 X-Content-Type-Options: nosniff