Home
Version 3
Space Quota Definitions API

Space Quota Definitions API

Retrieve a Particular Space Quota Definition

GET /v2/space_quota_definitions/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Space Quota Definition

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNSIsImVtYWlsIjoiZW1haWwtMTY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTl9.b5MIenOjag1LnBB87w01Spcis7TtODKOuCVY-VLDeQ0
Host: example.org
Cookie: 

Route

GET /v2/space_quota_definitions/84bb8b24-58bf-4ed0-a4cf-322b67c3f991

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/84bb8b24-58bf-4ed0-a4cf-322b67c3f991" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNSIsImVtYWlsIjoiZW1haWwtMTY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTl9.b5MIenOjag1LnBB87w01Spcis7TtODKOuCVY-VLDeQ0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b9cd1666-f7e8-4cc1-be9d-8720651bf3f6
Content-Length: 654
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "84bb8b24-58bf-4ed0-a4cf-322b67c3f991",
    "url": "/v2/space_quota_definitions/84bb8b24-58bf-4ed0-a4cf-322b67c3f991",
    "created_at": "2015-02-13T22:34:59Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1404",
    "organization_guid": "4b88cdf2-611e-4f06-885d-669f283c95f9",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/4b88cdf2-611e-4f06-885d-669f283c95f9",
    "spaces_url": "/v2/space_quota_definitions/84bb8b24-58bf-4ed0-a4cf-322b67c3f991/spaces"
  }
}