GET /v2/spaces/9aa69818-f70a-4754-8972-6ca59b2960c0/services
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the Space |
|
|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: active, label, provider, service_broker_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.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OCIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzZ9.dsznsbWCS8CSv4qgJpmwqwWhrd1SBuP13djYFm79LyM Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/9aa69818-f70a-4754-8972-6ca59b2960c0/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OCIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzZ9.dsznsbWCS8CSv4qgJpmwqwWhrd1SBuP13djYFm79LyM" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "64d7b4cf-8ffe-4d20-9620-58a17653c436", "url": "/v2/services/64d7b4cf-8ffe-4d20-9620-58a17653c436", "created_at": "2016-01-19T19:41:16Z", "updated_at": null }, "entity": { "label": "label-48", "provider": null, "url": null, "description": "desc-157", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "4ff5cccf-5563-484c-8de0-f799b44513db", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "cc1d96bd-2e43-485d-a22c-34632301fde5", "plan_updateable": false, "service_plans_url": "/v2/services/64d7b4cf-8ffe-4d20-9620-58a17653c436/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 999 X-Content-Type-Options: nosniff