- 登录
- 场景刀具
- 系统设置
- 网卡设置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/log/clean
请求参数
Body 参数application/json
object {0}
示例
//物联网// {
// "commandKey": "clearLog",
//{
//"commandKey": "clearLog",
//}
示例代码
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/log/clean' \
--header 'Content-Type: application/json' \
--data-raw '//物联网// {
// "commandKey": "clearLog",
//{
//"commandKey": "clearLog",
//}'
返回响应
🟢200成功
application/json
Body
cmdResult
string
必需
code
integer
必需
currentKnifeNum
integer
必需
currentSceneNum
integer
必需
deviceName
string
必需
knifeNum
integer
必需
logInfo
array[string]
必需
logSize
integer
必需
msg
integer
必需
sceneNum
integer
必需
sceneSize
integer
必需
specialSceneNum
integer
必需
tabId
integer
必需
timestamp
integer
必需
total
integer
必需
示例
{
"cmdResult": "string",
"code": 0,
"currentKnifeNum": 0,
"currentSceneNum": 0,
"deviceName": "string",
"knifeNum": 0,
"logInfo": [
"string"
],
"logSize": 0,
"msg": 0,
"sceneNum": 0,
"sceneSize": 0,
"specialSceneNum": 0,
"tabId": 0,
"timestamp": 0,
"total": 0
}
修改于 2024-05-17 01:18:12