Name | Description | Default | Valid Values | Example Values |
---|
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the App |
|
|
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. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NCIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDZ9.jz-OzUyS_ZfD3sbxrXTcsjnDfQXGwzoDW9acegCtUI4 Host: example.org Cookie:
GET /v2/apps/075adcff-d693-4486-ab00-b07623740699/service_bindings
curl "https://api.[your-domain.com]/v2/apps/075adcff-d693-4486-ab00-b07623740699/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NCIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDZ9.jz-OzUyS_ZfD3sbxrXTcsjnDfQXGwzoDW9acegCtUI4" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: d3b46da9-6c2c-41f7-a50d-53b9a8dddac7 Content-Length: 889 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "cba8328e-27a8-44aa-8780-a69911a21013", "url": "/v2/service_bindings/cba8328e-27a8-44aa-8780-a69911a21013", "created_at": "2014-11-05T01:02:26+00:00", "updated_at": null }, "entity": { "app_guid": "075adcff-d693-4486-ab00-b07623740699", "service_instance_guid": "f0b90064-86cb-4915-add3-4efee7006688", "credentials": { "creds-key-436": "creds-val-436" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/075adcff-d693-4486-ab00-b07623740699", "service_instance_url": "/v2/service_instances/f0b90064-86cb-4915-add3-4efee7006688" } } ] }