GET /v2/spaces/7bd6d0fa-760c-44cf-be35-a71832740daf/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, 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.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MSIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDR9.sg2S8aQAPAhI8KJxV8cM1VqjaHuRVoe2kJG8-oBSQc0 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/7bd6d0fa-760c-44cf-be35-a71832740daf/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MSIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDR9.sg2S8aQAPAhI8KJxV8cM1VqjaHuRVoe2kJG8-oBSQc0" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "9cd30d19-9836-45a9-a5ff-28a832dd94ef", "url": "/v2/services/9cd30d19-9836-45a9-a5ff-28a832dd94ef", "created_at": "2016-02-19T02:04:04Z", "updated_at": null }, "entity": { "label": "label-58", "provider": null, "url": null, "description": "desc-206", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "66e7e2ca-acec-4a09-a289-2a70ee224e08", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "87e6d516-4b29-42d6-9ee0-f09dffbad7d7", "plan_updateable": false, "service_plans_url": "/v2/services/9cd30d19-9836-45a9-a5ff-28a832dd94ef/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 999 X-Content-Type-Options: nosniff