Endpoints
Facts
Rate limit | Tier 1 (1000 requests per minute) |
Categories | manage |
Query Parameters
- reportUsageboolean
The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (only limits returned).
Responses
200
application/json
OK Response
- application/jsonobject
application/json properties
- dataarray of objectsRequired
Array of quota items.
data properties
- idstringRequired
The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
- typestringRequired
The resource type of the quota item. Always equal to "quotas".
- attributesobjectRequired
The attributes of the quota.
attributes properties
- unitstringRequired
The unit of the quota limit. For memory quotas, the unit is always "bytes". For other discrete units, the item counted is used as unit, for example "spaces".
- quotanumberRequired
The quota limit. If there is no quota limit, -1 is returned.
- usagenumber
The current quota usage, if applicable. This attribute is only present if it is requested using the reportUsage query parameter.
- warningThresholdsarray of numbers
The warning thresholds at which "close to quota" warnings can be issued when exceeded. If omitted, no warning threshold shall be used. Currently, the array will contain only one threshold value. In the future, this may be extended. The threshold is a number between 0 and 1, relating to the quota limit. For example, a value of 0.9 means that a warning should be issued when exceeding 90% of the quota limit.
-
-
-
401
application/json
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
A specific error.
errors properties
- codestringRequired
The error code.
- titlestringRequired
Summary of the problem.
-
-
500
application/json
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
A specific error.
errors properties
- codestringRequired
The error code.
- titlestringRequired
Summary of the problem.
-
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/quotas" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
const data = JSON.stringify("")
const options = {
'hostname': 'https://your-tenant.us.qlikcloud.com',
'port': 443,
'path': '/api/v1/quotas',
'method': 'GET',
'headers': {
'Authorization': 'Bearer <access_token>'
}
}
const req = https.request(options)
qlik quota ls
Response
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"unit": "string",
"quota": 42,
"usage": 42,
"warningThresholds": [
0.9
]
}
}
]
}
Facts
Rate limit | Tier 1 (1000 requests per minute) |
Categories | manage |
Query Parameters
- reportUsageboolean
The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (usage not included).
Path Parameters
- idstringRequired
The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
Responses
200
application/json
OK Response
- application/jsonobject
application/json properties
- dataarray of objectsRequired
Quota item.
data properties
- idstringRequired
The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
- typestringRequired
The resource type of the quota item. Always equal to "quotas".
- attributesobjectRequired
The attributes of the quota.
attributes properties
- unitstringRequired
The unit of the quota limit. For memory quotas, the unit is always "bytes". For other discrete units, the item counted is used as unit, for example "spaces".
- quotanumberRequired
The quota limit. If there is no quota limit, -1 is returned.
- usagenumber
The current quota usage, if applicable. This attribute is only present if it is requested using the reportUsage query parameter.
- warningThresholdsarray of numbers
The warning thresholds at which "close to quota" warnings can be issued when exceeded. If omitted, no warning threshold shall be used. Currently, the array will contain only one threshold value. In the future, this may be extended. The threshold is a number between 0 and 1, relating to the quota limit. For example, a value of 0.9 means that a warning should be issued when exceeding 90% of the quota limit.
-
-
-
401
application/json
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
A specific error.
errors properties
- codestringRequired
The error code.
- titlestringRequired
Summary of the problem.
-
-
404
application/json
Not Found
- application/jsonobject
application/json properties
- errorsarray of objects
A specific error.
errors properties
- codestringRequired
The error code.
- titlestringRequired
Summary of the problem.
-
-
500
application/json
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
A specific error.
errors properties
- codestringRequired
The error code.
- titlestringRequired
Summary of the problem.
-
-
curl "https://your-tenant.us.qlikcloud.com/api/v1/quotas/{id}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
const data = JSON.stringify("")
const options = {
'hostname': 'https://your-tenant.us.qlikcloud.com',
'port': 443,
'path': '/api/v1/quotas/{id}',
'method': 'GET',
'headers': {
'Authorization': 'Bearer <access_token>'
}
}
const req = https.request(options)
qlik quota get <quotaId>
Response
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"unit": "string",
"quota": 42,
"usage": 42,
"warningThresholds": [
0.9
]
}
}
]
}