Introduction
The space quota data can be retrieved and quota allocated can be updated via REST API:
REST APIs
Get list of space quota (max 50 spaces)
|
Method |
GET |
|---|---|
|
URL |
|
|
Query params |
startIndex - The start index e.g. |
|
Response |
200
|
|
403 - No view permission
|
|
|
412 - Quota setup not completed
|
|
|
Permission |
Available for:
|
Get space quota for specific space
|
Method |
GET |
|---|---|
|
URL |
|
|
Path params |
spaceKey - The space key |
|
Response |
200
|
|
403 - No view permission
|
|
|
412 - Quota setup not completed
|
|
|
Permission |
Available for:
|
Set space quota for specific space
|
Method |
POST |
|---|---|
|
URL |
|
|
Path params |
spaceKey - The space key |
|
Query param |
quotaAllocated - The new quota to set for the space e.g. |
|
Response |
200
|
|
403 - No edit permission
|
|
|
412 - Quota setup not completed
|
|
|
Permission |
Available for:
|