GET /v2/apps/708337ed-f5ba-42f1-ad7e-4c107fabab5f/service_bindings?service_binding_guid=5af6a3be-67af-44f2-8b67-4d5da70ae41a
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: 5af6a3be-67af-44f2-8b67-4d5da70ae41a
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMyIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDc4MjkyN30.VpBPTVufULcwpX4zRT8LfqTnyjiWcIVJQbTTAhcVv0s Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/apps/708337ed-f5ba-42f1-ad7e-4c107fabab5f/service_bindings?service_binding_guid=5af6a3be-67af-44f2-8b67-4d5da70ae41a" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMyIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDc4MjkyN30.VpBPTVufULcwpX4zRT8LfqTnyjiWcIVJQbTTAhcVv0s" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "6cc97d61-5ee4-4457-ba7c-b20c819fcca8", "url": "/v2/service_bindings/6cc97d61-5ee4-4457-ba7c-b20c819fcca8", "created_at": "2015-10-07T00:35:27Z", "updated_at": null }, "entity": { "app_guid": "708337ed-f5ba-42f1-ad7e-4c107fabab5f", "service_instance_guid": "3bc910fb-3919-4d62-b967-63aa883d0041", "credentials": { "creds-key-182": "creds-val-182" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/708337ed-f5ba-42f1-ad7e-4c107fabab5f", "service_instance_url": "/v2/service_instances/3bc910fb-3919-4d62-b967-63aa883d0041" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 27031393-4fc6-4cca-8a6e-4cf26ed9e7d3 Content-Length: 884 X-Content-Type-Options: nosniff