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.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NiIsImVtYWlsIjoiZW1haWwtMTk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.d0bfkdLTE5yj4ZpjhAv5yyc0Fd3ajQB5CPDlvUKOnKk
Host: example.org
Cookie: 

Route

GET /v2/space_quota_definitions/198c76d9-86c5-45dc-a477-0c5e395c2f61

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/198c76d9-86c5-45dc-a477-0c5e395c2f61" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NiIsImVtYWlsIjoiZW1haWwtMTk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.d0bfkdLTE5yj4ZpjhAv5yyc0Fd3ajQB5CPDlvUKOnKk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c6808a82-5395-41e8-bb3d-b230dc3c2204
Content-Length: 654
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "198c76d9-86c5-45dc-a477-0c5e395c2f61",
    "url": "/v2/space_quota_definitions/198c76d9-86c5-45dc-a477-0c5e395c2f61",
    "created_at": "2015-01-27T19:14:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1544",
    "organization_guid": "4f04e805-d650-4427-8756-4aab119402b0",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/4f04e805-d650-4427-8756-4aab119402b0",
    "spaces_url": "/v2/space_quota_definitions/198c76d9-86c5-45dc-a477-0c5e395c2f61/spaces"
  }
}