Last Updated on : 2023-10-25 03:34:31download
获取小时级别的统计
GET: /v1.0/m/analytics/statistics/rang/hour
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
devId | String | query | true | devId |
dpId | String | query | true | dpId |
date | String | query | true | 要获取统计数据的日期,格式: yyyyMMdd |
auto | Integer | query | false | 补数据的逻辑,默认0 |
type | String | query | true | 统计类型 |
keepScalaPoint | Boolean | query | false | keepScalaPoint |
null
{
"result": {
"2021063010": "29.87",
"2021063002": "29.82",
"2021063003": "29.80",
"2021063000": "29.93",
"2021063011": "29.97",
"2021063001": "29.89",
"2021063006": "29.68",
"2021063007": "29.71",
"2021063004": "29.76",
"2021063005": "29.70",
"2021063008": "29.76",
"2021063009": "29.81"
},
"t": 1625025388494,
"success": true,
"status": "ok"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback