If provided the time range over which values will be <= this time. If not provided then all
values will be used up until now().
{
"userAppId": {},
"statValueAggregateQueries": [
{
"tags": [
"string"
],
"tagGroups": [
"string"
],
"statValueAggType": "SUM",
"statTimeAggType": "NO_TIME_AGG",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z"
}
]
}
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/users//apps//stats/values/aggregate' \
--header 'Content-Type: application/json' \
--data-raw '{
"userAppId": {},
"statValueAggregateQueries": [
{
"tags": [
"string"
],
"tagGroups": [
"string"
],
"statValueAggType": "SUM",
"statTimeAggType": "NO_TIME_AGG",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z"
}
]
}'
{
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"statValueAggregateResults": [
{
"statValueAggregates": [
{
"time": "2019-08-24T14:15:22Z",
"aggregateValue": 0,
"count": "string",
"tags": [
"string"
]
}
],
"statValueAggregateQuery": {
"tags": [
"string"
],
"tagGroups": [
"string"
],
"statValueAggType": "SUM",
"statTimeAggType": "NO_TIME_AGG",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z"
}
}
]
}