GET /v2/spaces/2e32799f-e416-4979-a220-6685a90f32be/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.eyJ1c2VyX2lkIjoidWFhLWlkLTY2IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk3fQ.WPzcVG2Ih-A9k6F0UhFFE1BfRwm_WHtkc1n7HWNP_gs Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/2e32799f-e416-4979-a220-6685a90f32be/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY2IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk3fQ.WPzcVG2Ih-A9k6F0UhFFE1BfRwm_WHtkc1n7HWNP_gs" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "a5d24b82-4ec8-45c0-a3d6-6d5327ce8201", "url": "/v2/services/a5d24b82-4ec8-45c0-a3d6-6d5327ce8201", "created_at": "2015-10-13T17:31:37Z", "updated_at": null }, "entity": { "label": "label-10", "provider": null, "url": null, "description": "desc-21", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "f2468307-4520-4260-812a-d734e90d5c5a", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "50b2d2d2-7e7c-4cc1-8046-6f3fdc1756bf", "plan_updateable": false, "service_plans_url": "/v2/services/a5d24b82-4ec8-45c0-a3d6-6d5327ce8201/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 326aa620-0f7a-4946-b70b-d1233ed90a6a Content-Length: 998 X-Content-Type-Options: nosniff