Home
Version 3
Space Quota Definitions API

Space Quota Definitions API

Retrieve a Particular Space Quota Definition

GET /v2/space_quota_definitions/:guid

Request

Route

GET /v2/space_quota_definitions/e4fea1a0-fb33-40a2-bb7f-c1d4368b47d0

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MCIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MTB9.CRjIUoxzXaUJshgP4CN5fqpiv4dy9KpH5MPVjOfsjR8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/e4fea1a0-fb33-40a2-bb7f-c1d4368b47d0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MCIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MTB9.CRjIUoxzXaUJshgP4CN5fqpiv4dy9KpH5MPVjOfsjR8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e4fea1a0-fb33-40a2-bb7f-c1d4368b47d0",
    "url": "/v2/space_quota_definitions/e4fea1a0-fb33-40a2-bb7f-c1d4368b47d0",
    "created_at": "2015-03-10T23:11:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-777",
    "organization_guid": "41816bf2-288a-4380-9fbc-1af5bf2d4759",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/41816bf2-288a-4380-9fbc-1af5bf2d4759",
    "spaces_url": "/v2/space_quota_definitions/e4fea1a0-fb33-40a2-bb7f-c1d4368b47d0/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 77ddc12a-9fb5-4996-9248-0b7d31eccc9e
Content-Length: 653
X-Content-Type-Options: nosniff