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. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NSIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDR9.v5pfE_EMjnczeN6mhDo0m5MScwdlsRPS8AO1SnPQ-Dc Host: example.org Cookie:
GET /v2/user_provided_service_instances/63c99d3c-0ce4-4cad-9f09-0812bba993b6/service_bindings
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/63c99d3c-0ce4-4cad-9f09-0812bba993b6/service_bindings" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NSIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDR9.v5pfE_EMjnczeN6mhDo0m5MScwdlsRPS8AO1SnPQ-Dc" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: f5889f5c-ebff-4e65-bd1f-484f2a159ac3 Content-Length: 903 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "7a016f52-79a1-4d80-9cfd-c23c3fc28839", "url": "/v2/service_bindings/7a016f52-79a1-4d80-9cfd-c23c3fc28839", "created_at": "2014-11-05T01:02:24+00:00", "updated_at": null }, "entity": { "app_guid": "3b6585eb-6975-470f-992e-935973c291ea", "service_instance_guid": "63c99d3c-0ce4-4cad-9f09-0812bba993b6", "credentials": { "creds-key-413": "creds-val-413" }, "binding_options": { }, "gateway_data": null, "gateway_name": "", "syslog_drain_url": null, "app_url": "/v2/apps/3b6585eb-6975-470f-992e-935973c291ea", "service_instance_url": "/v2/user_provided_service_instances/63c99d3c-0ce4-4cad-9f09-0812bba993b6" } } ] }