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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MSIsImVtYWlsIjoiZW1haWwtMjY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.N8pIeOV9zA1cRhZOdIP_2TP_UIeSXj1deZlbtBoOq6o Host: example.org Cookie:
GET /v2/space_quota_definitions/f45db805-7019-4d42-8f3f-14aae708ab29/spaces
curl "https://api.[your-domain.com]/v2/space_quota_definitions/f45db805-7019-4d42-8f3f-14aae708ab29/spaces" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MSIsImVtYWlsIjoiZW1haWwtMjY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.N8pIeOV9zA1cRhZOdIP_2TP_UIeSXj1deZlbtBoOq6o" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 38d696d6-c6c9-45a0-8087-4646f88dc72d 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": "f4c4e64d-6303-4763-a374-6ca53b7bde3f", "url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f", "created_at": "2015-02-10T01:42:59Z", "updated_at": "2015-02-10T01:42:59Z" }, "entity": { "name": "name-1954", "organization_guid": "84a6963f-74a4-4021-abc8-5032736601c5", "space_quota_definition_guid": "f45db805-7019-4d42-8f3f-14aae708ab29", "organization_url": "/v2/organizations/84a6963f-74a4-4021-abc8-5032736601c5", "space_quota_definition_url": "/v2/space_quota_definitions/f45db805-7019-4d42-8f3f-14aae708ab29", "developers_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/developers", "managers_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/managers", "auditors_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/auditors", "apps_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/apps", "routes_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/routes", "domains_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/domains", "service_instances_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/service_instances", "app_events_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/app_events", "events_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/events", "security_groups_url": "/v2/spaces/f4c4e64d-6303-4763-a374-6ca53b7bde3f/security_groups" } } ] }