Quotas
List all quotas.
get/v1/quotas
Query parameters
limitinteger
Requests a page size of items. Returns a number of items up to a limit value. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request.
offsetinteger
Used in conjunction with limit to return a slice of items. offset is where to start in the list.
sortstring
Example:sort=name:desc,id:asc
Comma-separated list of sort keys and optional sort directions in the form of key:val
namestring
The quota name
idstring
Database ID created for a quota.
native_quota_idstring
Actual ID of the quota in the storage backend.
native_filesystem_idstring
Filesystem ID of the quota in the storage backend.
native_qtree_idstring
Qtree ID of the quota in the storage backend.
storage_idstring
Database ID created for a storage backend.
type'filesystem' | 'tree' | 'user' | 'group'
The quota types
Response
List quota query was success
Example response
{
"quotas": [
{
"id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"created_at": "2017-07-10T14:36:58.014Z",
"updated_at": "2017-07-10T14:36:58.014Z",
"native_quota_id": "Quota_A",
"storage_id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"native_filesystem_id": "Filesystem_A",
"native_qtree_id": "Qtree_A",
"capacity_hard_limit": 100,
"capacity_soft_limit": 80,
"file_hard_limit": 10,
"file_soft_limit": 8,
"used_capacity": 100,
"file_count": 10
}
]
}