GET /v2/spaces/607b3464-5bd1-417d-9fcc-d38c4eff589e/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMSIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTB9.XV_4gxxaEEMrykzd4CRAvWrrgaXgXAkqUdcvHfmRXQk Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/607b3464-5bd1-417d-9fcc-d38c4eff589e/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMSIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTB9.XV_4gxxaEEMrykzd4CRAvWrrgaXgXAkqUdcvHfmRXQk" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "f5b1a8b3-80f1-4d44-9bc0-e463c8eeab6d", "url": "/v2/services/f5b1a8b3-80f1-4d44-9bc0-e463c8eeab6d", "created_at": "2015-08-06T00:36:50Z", "updated_at": null }, "entity": { "label": "label-61", "provider": null, "url": null, "description": "desc-139", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "53c9b0ae-abaf-462e-9403-9c58a9def96c", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "4aa30b55-151c-40de-886c-51e3dd19f244", "plan_updateable": false, "service_plans_url": "/v2/services/f5b1a8b3-80f1-4d44-9bc0-e463c8eeab6d/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 947cab3e-17ef-4bf6-8df3-85bd8c62768f Content-Length: 999 X-Content-Type-Options: nosniff