Compute and return the statistic value.
According to the selected statistic resource you must have the specific permissions (e.g. READ_THING).
The name of the target tenant (e.g. acme).
The resource from which to retrieve the items to be used to calculate the statistic (action, alert, customer, location, partner, thing, user, work_session).
Condition to get time-based items after a specific timestamp.
Condition to get time-based items before a specific timestamp.
The function used to aggregate data (AVG, COUNT, MAX, MIN, SUM). Except for COUNT, other functions require also a property to aggregate.
The object property whose values must be aggregated.
Condition on thing id.
Condition on location id.
Condition on customer id.
The property used to group statistic results.
The maximum number of results to return.
The direction used to sort statistic results by value (ASC, DESC).
Define whether to include events that are still active, or have been activated in a period.
The item count used to average the statistic result values.
Condition on object property (PREDICATES beginsWith, eq, neq, gt, gte, lt, lte, like, notLike, isEmpty, isNotEmpty).
Successful operation.
The statistic value.
The statistic aggregation category.
User not authenticated.
The error response.
User not authorized.
The error response.
Resource was not found.
The error response.
API call rate limit exeeded.
The error response.
Internal server error.
The error response.