GET /v2/space_quota_definitions/9dd5b689-7532-40b2-890a-94575bcf1e19/spaces?space_guid=f8db888e-e386-4f95-82bf-d2716cdd2f7e
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: f8db888e-e386-4f95-82bf-d2716cdd2f7e
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTN9.RrFJ-94X4K72izLazTtBLu33CJrHIcS6Nv7NtWn8FMY Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/space_quota_definitions/9dd5b689-7532-40b2-890a-94575bcf1e19/spaces?space_guid=f8db888e-e386-4f95-82bf-d2716cdd2f7e" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTN9.RrFJ-94X4K72izLazTtBLu33CJrHIcS6Nv7NtWn8FMY" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "5f5251ab-0fca-48ab-a88f-daa9cebf9d24", "url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24", "created_at": "2015-07-27T22:43:33Z", "updated_at": "2015-07-27T22:43:33Z" }, "entity": { "name": "name-2258", "organization_guid": "7ee0ae9f-1382-4dcd-8dbd-ecbb6b09d7a5", "space_quota_definition_guid": "9dd5b689-7532-40b2-890a-94575bcf1e19", "allow_ssh": true, "organization_url": "/v2/organizations/7ee0ae9f-1382-4dcd-8dbd-ecbb6b09d7a5", "space_quota_definition_url": "/v2/space_quota_definitions/9dd5b689-7532-40b2-890a-94575bcf1e19", "developers_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/developers", "managers_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/managers", "auditors_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/auditors", "apps_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/apps", "routes_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/routes", "domains_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/domains", "service_instances_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/service_instances", "app_events_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/app_events", "events_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/events", "security_groups_url": "/v2/spaces/5f5251ab-0fca-48ab-a88f-daa9cebf9d24/security_groups" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 653c3fe4-dedc-4351-a49e-8b89f7d761ff Content-Length: 1643 X-Content-Type-Options: nosniff