Home
Version 3
Space Quota Definitions API

Space Quota Definitions API

List all Space Quota Definitions

GET /v2/space_quota_definitions

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2OCIsImVtYWlsIjoiZW1haWwtMTQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjF9.rRq2sJb45SM-JOa_v_MgV9hNvZPPdbqwLe4xzFyvt44
Host: example.org
Cookie: 

Route

GET /v2/space_quota_definitions

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2OCIsImVtYWlsIjoiZW1haWwtMTQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjF9.rRq2sJb45SM-JOa_v_MgV9hNvZPPdbqwLe4xzFyvt44" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: cd91b991-8370-4ae4-98c0-a3c28cc0ab36
Content-Length: 841
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "total_results": 1,
  "total_pages": 1,
  "prev_url": null,
  "next_url": null,
  "resources": [
    {
      "metadata": {
        "guid": "d25c69ae-66fe-41a6-a368-59e98591f7fa",
        "url": "/v2/space_quota_definitions/d25c69ae-66fe-41a6-a368-59e98591f7fa",
        "created_at": "2014-11-24T19:32:41+00:00",
        "updated_at": null
      },
      "entity": {
        "name": "name-652",
        "organization_guid": "67c9217f-878d-4568-a176-468c4e6ca69f",
        "non_basic_services_allowed": true,
        "total_services": 60,
        "total_routes": 1000,
        "memory_limit": 20480,
        "instance_memory_limit": -1,
        "organization_url": "/v2/organizations/67c9217f-878d-4568-a176-468c4e6ca69f",
        "spaces_url": "/v2/space_quota_definitions/d25c69ae-66fe-41a6-a368-59e98591f7fa/spaces"
      }
    }
  ]
}