Retrieve Aggregated Views
Allows to retrieve a list of aggregated views.
Authorizations
Path parameters
PROJECT_IDstringRequired
DEVICE_IDstringRequired
AGGREGATED_VIEW_IDstringRequired
Query parameters
pageintegerOptionalExample:
REQUIRED (All Data Fetch Operations are Paginated) Type=Number
1limitintegerOptionalExample:
REQUIRED (Limit per Page) Type=Number
100rangestringOptionalExample:
REQUIRED (Value Can be Only "all" or "time") Type=string
allstartstringOptional
REQUIRED if "range" is "time" Type=date
endstringOptional
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
403
Forbidden
application/json
get
/v2/projects/{PROJECT_ID}/devices/{DEVICE_ID}/aggregated-view/{AGGREGATED_VIEW_ID}GET /v2/projects/{PROJECT_ID}/devices/{DEVICE_ID}/aggregated-view/{AGGREGATED_VIEW_ID} HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"action": "get device data",
"status": 200,
"message": "Aggregated View data retrieved successfully.",
"data": [
{
"key_avg": 10,
"time": "2025-02-10T00:00:00Z"
}
]
}Last updated