GET /v2/apps/12f3bb17-2b59-49f0-a3ff-f1d71b809743/service_bindings?service_binding_guid=7d0cd3a5-7eb7-4cc4-960b-2a891c8cdba9
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: 7d0cd3a5-7eb7-4cc4-960b-2a891c8cdba9
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NyIsImVtYWlsIjoiZW1haWwtOTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MTY2MjYwMX0.3DblM61smMHICumXs66Lu6v7er15yWBZzNWM1Nugz2w Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/apps/12f3bb17-2b59-49f0-a3ff-f1d71b809743/service_bindings?service_binding_guid=7d0cd3a5-7eb7-4cc4-960b-2a891c8cdba9" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NyIsImVtYWlsIjoiZW1haWwtOTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MTY2MjYwMX0.3DblM61smMHICumXs66Lu6v7er15yWBZzNWM1Nugz2w" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "e8853b41-7870-40b4-9ab7-089080bd0321", "url": "/v2/service_bindings/e8853b41-7870-40b4-9ab7-089080bd0321", "created_at": "2015-08-31T21:50:00Z", "updated_at": null }, "entity": { "app_guid": "12f3bb17-2b59-49f0-a3ff-f1d71b809743", "service_instance_guid": "06dcb905-e2fc-4ca5-b996-7aa830ae1bc5", "credentials": { "creds-key-206": "creds-val-206" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/12f3bb17-2b59-49f0-a3ff-f1d71b809743", "service_instance_url": "/v2/service_instances/06dcb905-e2fc-4ca5-b996-7aa830ae1bc5" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 98ae44bd-43ee-4106-b2ba-62983a0f4e53 Content-Length: 884 X-Content-Type-Options: nosniff