指标历史数据查询(限一个月带分页)
开发中GET
/api/v1/telemetry/datas/history/page请求参数
Query 参数
device_id
string
必需
end_time
integer
必需
结束时间(毫秒时间戳)
示例值:
1711656000000
export_excel
string
可选
导出到excel标志true,false
key
string
必需
start_time
integer
必需
起始时间(毫秒时间戳)
示例值:
1711656000000
page
integer
可选
page_size
integer
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {3}]
必需
total
integer
必需
示例
{
"code": 200,
"message": "操作成功",
"data": {
"list": [
{
"key": "test_data1",
"ts": 1736156216962,
"value": 25.5
},
{
"key": "test_data1",
"ts": 1736156214837,
"value": 25.5
}
],
"total": 3
}
}
最后修改时间: a month ago