Name | Description | Default | Valid Values | Example Values |
---|
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the Space Quota Definition |
|
|
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 |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.1_mq9jW2BRVfbYTuD6K5ws9s-bucv0POUgOUrrkxh_U Host: example.org Cookie:
GET /v2/space_quota_definitions/a4050cbe-c384-4f52-bb0d-5c5a1127c1c8/spaces
curl "https://api.[your-domain.com]/v2/space_quota_definitions/a4050cbe-c384-4f52-bb0d-5c5a1127c1c8/spaces" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.1_mq9jW2BRVfbYTuD6K5ws9s-bucv0POUgOUrrkxh_U" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 0465ea61-fba9-40f3-936a-2b51ccf93711 Content-Length: 1616 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "3fdd446d-e629-441e-b821-7722871410ee", "url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee", "created_at": "2015-01-27T19:14:38Z", "updated_at": "2015-01-27T19:14:38Z" }, "entity": { "name": "name-1566", "organization_guid": "f9bc4c7b-44cc-43bd-ac14-9a83d117ed0a", "space_quota_definition_guid": "a4050cbe-c384-4f52-bb0d-5c5a1127c1c8", "organization_url": "/v2/organizations/f9bc4c7b-44cc-43bd-ac14-9a83d117ed0a", "space_quota_definition_url": "/v2/space_quota_definitions/a4050cbe-c384-4f52-bb0d-5c5a1127c1c8", "developers_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/developers", "managers_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/managers", "auditors_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/auditors", "apps_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/apps", "routes_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/routes", "domains_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/domains", "service_instances_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/service_instances", "app_events_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/app_events", "events_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/events", "security_groups_url": "/v2/spaces/3fdd446d-e629-441e-b821-7722871410ee/security_groups" } } ] }