Telemetry - GET Aggregation Type List
Get
{{url_iot_backend}}/ext/aggregation-type
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
Parameter
Field | Type | Description |
---|---|---|
{
"message": "success",
"code": 200,
"data": {
"aggregation_types": [
{
"id": 0,
"aggregation_type_name": "Last",
"qry_sintax": "LAST"
},
{
"id": 1,
"aggregation_type_name": "Average",
"qry_sintax": "AVG"
},
{
"id": 2,
"aggregation_type_name": "Max",
"qry_sintax": "MAX"
},
{
"id": 3,
"aggregation_type_name": "Min",
"qry_sintax": "MIN"
},
{
"id": 4,
"aggregation_type_name": "First",
"qry_sintax": "FIRST"
}
]
}
}
{
"success": false,
"error": {
"code": 401,
"message": "Unauthorized: Invalid or missing token"
}
}