GET /v2/space_quota_definitions/ab2c7709-ae8e-428e-b067-529d5e62028d/spaces?space_guid=b6e0e56a-b48f-4cac-bc58-d6e90af7511f
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: b6e0e56a-b48f-4cac-bc58-d6e90af7511f
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM5NX0.roRThQcuEwI55fOU8JH1OXMzxqdi0m1BhoEf6W0ZwCo Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/space_quota_definitions/ab2c7709-ae8e-428e-b067-529d5e62028d/spaces?space_guid=b6e0e56a-b48f-4cac-bc58-d6e90af7511f" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM5NX0.roRThQcuEwI55fOU8JH1OXMzxqdi0m1BhoEf6W0ZwCo" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "27026463-419b-4bd3-85e6-fd81753bf235", "url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235", "created_at": "2016-04-22T19:33:15Z", "updated_at": "2016-04-22T19:33:15Z" }, "entity": { "name": "name-273", "organization_guid": "a692bd46-f79a-4532-88eb-baf0342ae588", "space_quota_definition_guid": "ab2c7709-ae8e-428e-b067-529d5e62028d", "allow_ssh": true, "organization_url": "/v2/organizations/a692bd46-f79a-4532-88eb-baf0342ae588", "space_quota_definition_url": "/v2/space_quota_definitions/ab2c7709-ae8e-428e-b067-529d5e62028d", "developers_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/developers", "managers_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/managers", "auditors_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/auditors", "apps_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/apps", "routes_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/routes", "domains_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/domains", "service_instances_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/service_instances", "app_events_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/app_events", "events_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/events", "security_groups_url": "/v2/spaces/27026463-419b-4bd3-85e6-fd81753bf235/security_groups" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: cf8d091c-4f6f-48f6-bd46-1a5061319f81 Content-Length: 1642 X-Content-Type-Options: nosniff