GET /v2/spaces/740b2b50-a837-4005-aa7b-34a4d2e9eb53/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 |
|
|
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYyIiwiZW1haWwiOiJlbWFpbC01NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAwfQ.WtPHz6cu1_NhRCA2_YZ597d0PunJJv6Pyb90YphcRV4 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/740b2b50-a837-4005-aa7b-34a4d2e9eb53/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYyIiwiZW1haWwiOiJlbWFpbC01NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAwfQ.WtPHz6cu1_NhRCA2_YZ597d0PunJJv6Pyb90YphcRV4" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "01a96043-5ea4-47de-b2f1-2ddcc9865e94", "url": "/v2/services/01a96043-5ea4-47de-b2f1-2ddcc9865e94", "created_at": "2015-04-07T19:11:40Z", "updated_at": null }, "entity": { "label": "label-15", "provider": null, "url": null, "description": "desc-41", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "c6b34c75-6aa8-403f-8e79-02f19b0b6449", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "0e8f0c15-de26-4ed3-8eec-979508f8e578", "plan_updateable": false, "service_plans_url": "/v2/services/01a96043-5ea4-47de-b2f1-2ddcc9865e94/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 85055a16-ecdb-4f3b-a7a9-69ab8a240ea0 Content-Length: 998 X-Content-Type-Options: nosniff