Retrieve Aggregated Views

Allows to retrieve a list of aggregated views.

Retrieve Aggregated View Data

get
Authorizations
Path parameters
PROJECT_IDstringRequired
DEVICE_IDstringRequired
AGGREGATED_VIEW_IDstringRequired
Query parameters
pageintegerOptional

REQUIRED (All Data Fetch Operations are Paginated) Type=Number

Example: 1
limitintegerOptional

REQUIRED (Limit per Page) Type=Number

Example: 100
rangestringOptional

REQUIRED (Value Can be Only "all" or "time") Type=string

Example: all
startstringOptional

REQUIRED if "range" is "time" Type=date

endstringOptional
Responses
200
OK
application/json
Responseobject
get
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