GET /v2/space_quota_definitions/d808b387-ae8d-435e-92d3-d3791114401e/spaces?space_guid=f2b92f94-dece-4265-a1ec-2942659957ba
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the Space Quota Definition |
|
|
space_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: name, organization_guid, developer_guid, app_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 |
|
|
space_guid: f2b92f94-dece-4265-a1ec-2942659957ba
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzOSIsImVtYWlsIjoiZW1haWwtMzAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3Mjl9.bkHjlpSYSjpZOeRlNxwKsjvTB1i4VNkINr9gwF8T-P8 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/space_quota_definitions/d808b387-ae8d-435e-92d3-d3791114401e/spaces?space_guid=f2b92f94-dece-4265-a1ec-2942659957ba" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzOSIsImVtYWlsIjoiZW1haWwtMzAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3Mjl9.bkHjlpSYSjpZOeRlNxwKsjvTB1i4VNkINr9gwF8T-P8" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "468b5132-4ae1-46ff-9aac-e60aa61d0e08", "url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08", "created_at": "2016-05-12T00:45:29Z", "updated_at": "2016-05-12T00:45:29Z" }, "entity": { "name": "name-2478", "organization_guid": "1e4716a7-9fe2-4dee-b4a3-dbb5afcbb169", "space_quota_definition_guid": "d808b387-ae8d-435e-92d3-d3791114401e", "allow_ssh": true, "organization_url": "/v2/organizations/1e4716a7-9fe2-4dee-b4a3-dbb5afcbb169", "space_quota_definition_url": "/v2/space_quota_definitions/d808b387-ae8d-435e-92d3-d3791114401e", "developers_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/developers", "managers_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/managers", "auditors_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/auditors", "apps_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/apps", "routes_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/routes", "domains_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/domains", "service_instances_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/service_instances", "app_events_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/app_events", "events_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/events", "security_groups_url": "/v2/spaces/468b5132-4ae1-46ff-9aac-e60aa61d0e08/security_groups" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: c9a91dd6-767c-4444-a650-258f8e4a884c Content-Length: 1643 X-Content-Type-Options: nosniff