GET /v2/user_provided_service_instances
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: name, space_guid, organization_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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNiIsImVtYWlsIjoiZW1haWwtMjI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MDh9.xv3LN0h1GxsDyP0fnKebphaWi1JTOpVV9Ao6o0cr8rs Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNiIsImVtYWlsIjoiZW1haWwtMjI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MDh9.xv3LN0h1GxsDyP0fnKebphaWi1JTOpVV9Ao6o0cr8rs" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "5a9bac61-1228-4da8-ba71-9e0363294379", "url": "/v2/user_provided_service_instances/5a9bac61-1228-4da8-ba71-9e0363294379", "created_at": "2016-04-22T19:33:28Z", "updated_at": null }, "entity": { "name": "name-1102", "credentials": { "creds-key-42": "creds-val-42" }, "space_guid": "2f97f858-ca31-4336-b04f-ee46398c9ec9", "type": "user_provided_service_instance", "syslog_drain_url": "https://foo.com/url-67", "route_service_url": null, "space_url": "/v2/spaces/2f97f858-ca31-4336-b04f-ee46398c9ec9", "service_bindings_url": "/v2/user_provided_service_instances/5a9bac61-1228-4da8-ba71-9e0363294379/service_bindings", "routes_url": "/v2/user_provided_service_instances/5a9bac61-1228-4da8-ba71-9e0363294379/routes" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: c9abaf00-23af-4dac-8d8d-ff68271e59ae Content-Length: 1001 X-Content-Type-Options: nosniff