Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
guid | The guid of the Service Instance. |
|
|
Name | Description | Valid Values | Example Values |
---|---|---|---|
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 |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MyIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzl9.piJvw9ZR_9L3dDWmgbnPf4c7xnEd7Ai5jcjqTidLPTs Host: example.org Cookie:
GET /v2/user_provided_service_instances/33140214-e177-40eb-ae7d-bd59222f6e7a/service_bindings
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/33140214-e177-40eb-ae7d-bd59222f6e7a/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MyIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzl9.piJvw9ZR_9L3dDWmgbnPf4c7xnEd7Ai5jcjqTidLPTs" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 9f5e6691-1f5d-4f23-90b3-f467ff668e2f Content-Length: 898 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "9916d7dc-9dbd-4190-bb6d-0e16367248fe", "url": "/v2/service_bindings/9916d7dc-9dbd-4190-bb6d-0e16367248fe", "created_at": "2015-01-27T19:14:38Z", "updated_at": null }, "entity": { "app_guid": "9745a11c-b2c7-4ebb-bc2d-493144992773", "service_instance_guid": "33140214-e177-40eb-ae7d-bd59222f6e7a", "credentials": { "creds-key-450": "creds-val-450" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/9745a11c-b2c7-4ebb-bc2d-493144992773", "service_instance_url": "/v2/user_provided_service_instances/33140214-e177-40eb-ae7d-bd59222f6e7a" } } ] }