GET /v2/space_quota_definitions/0284f7a2-572a-4041-b6bb-eda5490748bb/spaces?space_guid=89a69da9-8ee7-4c4a-aa21-1a48553a7e0e
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: 89a69da9-8ee7-4c4a-aa21-1a48553a7e0e
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzZ9.B1wFMwVWm53LB_7VJbNkHXXZ2afKDfxbLjzI31X3q0w Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/space_quota_definitions/0284f7a2-572a-4041-b6bb-eda5490748bb/spaces?space_guid=89a69da9-8ee7-4c4a-aa21-1a48553a7e0e" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzZ9.B1wFMwVWm53LB_7VJbNkHXXZ2afKDfxbLjzI31X3q0w" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "6e22903c-9014-48bf-b0a1-be5b60e0dd5e", "url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e", "created_at": "2015-09-11T18:38:56Z", "updated_at": "2015-09-11T18:38:56Z" }, "entity": { "name": "name-694", "organization_guid": "ddc27c05-f219-4c1d-9917-7cab4a8a57a3", "space_quota_definition_guid": "0284f7a2-572a-4041-b6bb-eda5490748bb", "allow_ssh": true, "organization_url": "/v2/organizations/ddc27c05-f219-4c1d-9917-7cab4a8a57a3", "space_quota_definition_url": "/v2/space_quota_definitions/0284f7a2-572a-4041-b6bb-eda5490748bb", "developers_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/developers", "managers_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/managers", "auditors_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/auditors", "apps_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/apps", "routes_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/routes", "domains_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/domains", "service_instances_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/service_instances", "app_events_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/app_events", "events_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/events", "security_groups_url": "/v2/spaces/6e22903c-9014-48bf-b0a1-be5b60e0dd5e/security_groups" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 01d888b5-6be6-49ad-a5a8-061e0b87d9a5 Content-Length: 1642 X-Content-Type-Options: nosniff