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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMSIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzh9.Iwy35sL7uHUzME90G5eAKwZxFl99U4SsIp51K6MPxSc Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMSIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzh9.Iwy35sL7uHUzME90G5eAKwZxFl99U4SsIp51K6MPxSc" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "c0d7707c-878c-4f35-aa5a-a46a00b91ade", "url": "/v2/user_provided_service_instances/c0d7707c-878c-4f35-aa5a-a46a00b91ade", "created_at": "2016-01-19T19:41:18Z", "updated_at": null }, "entity": { "name": "name-2118", "credentials": { "creds-key-39": "creds-val-39" }, "space_guid": "004f109e-31d4-4840-be3d-6e22bbfae44c", "type": "user_provided_service_instance", "syslog_drain_url": "https://foo.com/url-73", "route_service_url": null, "space_url": "/v2/spaces/004f109e-31d4-4840-be3d-6e22bbfae44c", "service_bindings_url": "/v2/user_provided_service_instances/c0d7707c-878c-4f35-aa5a-a46a00b91ade/service_bindings", "routes_url": "/v2/user_provided_service_instances/c0d7707c-878c-4f35-aa5a-a46a00b91ade/routes" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 1001 X-Content-Type-Options: nosniff