- 登录
- 场景刀具
- 系统设置
- 网卡设置POST
- 网卡立即生效POST
- 网络连接测试POST
- 获取系统设置POST
- 系统设置POST
- 系统配置字典查询POST
- 服务重启POST
- 传感器固件升级POST
- 服务器网络连接设置POST
- 传感器设置POST
- 复制参数POST
- 执行shellPOST
- 传感器设置读取POST
- 传感器属性设置POST
- 传感器断电重启POST
- 风扇设置POST
- 添加读取NCPOST
- 编辑读取NCPOST
- 删除读取NCPOST
- 编辑NC读取信息POST
- 配置页面NC重启POST
- NC采集开关设置POST
- 公用刀号设置POST
- 恢复出厂设置POST
- 系统操作日志查询POST
- 报警模式设置POST
- 设置WIFIPOST
- ssh远程设置POST
- 上下限设置POST
- 上下限读取POST
- 上下限读取 CopyPOST
- 极性设置POST
- 刀具报警统计POST
- 日志
- 实时数据
历史振动数据查询
开发中
POST
/api/historyData/get
请求参数
Body 参数application/json
object {0}
示例
{
"startTime":1721847793000, // 开始时间,毫秒时间戳
"endTime": 1721848393000, // 结束时间,毫秒时间戳
"sceneNum":0 // 非必填
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/historyData/get' \
--header 'Content-Type: application/json' \
--data-raw '{
"startTime":1721847793000, // 开始时间,毫秒时间戳
"endTime": 1721848393000, // 结束时间,毫秒时间戳
"sceneNum":0 // 非必填
}'
返回响应
🟢200成功
application/json
Body
cmdResult
string
必需
code
integer
必需
currentKnifeNum
integer
必需
currentSceneNum
integer
必需
deviceName
string
必需
historyData
array [object {18}]
必需
alarm
integer
必需
autoRatioValue
integer
必需
dataIndex
integer
必需
dataLength
integer
必需
highPass
integer
必需
index
integer
必需
iot
integer
必需
isUse
integer
必需
lowPass
integer
必需
max
integer
必需
real
integer
必需
sensor
integer
必需
sensorIP
integer
必需
sensorIPLast
integer
必需
sensorMAC
integer
必需
state
integer
必需
type
integer
必需
version
integer
必需
knifeNum
integer
必需
msg
integer
必需
sceneNum
integer
必需
sceneSize
integer