互联测控终端(旧软件)
  1. 日志
互联测控终端(旧软件)
  • 登录
    • 登录
      POST
  • 场景刀具
    • 场景(刀具)查询
      POST
    • 场景(刀具)极大值清零
      POST
    • 场景(刀具)立即生效
      POST
    • 场景(刀具)修改
      POST
    • 特殊场景
      POST
    • 恢复正常加工
      POST
    • 特殊加工延时
      POST
    • 批量场景(刀具)修改
      POST
    • 分页读取刀具
      POST
    • 使用率历史数据查询
      POST
    • 历史振动数据查询
      POST
    • 历史极大值及AI推荐值查询
      POST
    • 批量修改参数
      POST
    • 分页读取刀具 单场景读取
      POST
    • 分页读取刀具 数组
      POST
    • 分页读取刀具 区间
      POST
    • 分页读取刀具 带场景
      POST
  • 系统设置
    • 网卡设置
      POST
    • 网卡立即生效
      POST
    • 网络连接测试
      POST
    • 获取系统设置
      POST
    • 系统设置
      POST
    • 系统配置字典查询
      POST
    • 服务重启
      POST
    • 传感器固件升级
      POST
    • 服务器网络连接设置
      POST
    • 传感器设置
      POST
    • 复制参数
      POST
    • 执行shell
      POST
    • 传感器设置读取
      POST
    • 传感器属性设置
      POST
    • 传感器断电重启
      POST
    • 风扇设置
      POST
    • 添加读取NC
      POST
    • 编辑读取NC
      POST
    • 删除读取NC
      POST
    • 编辑NC读取信息
      POST
    • 配置页面NC重启
      POST
    • NC采集开关设置
      POST
    • 公用刀号设置
      POST
    • 恢复出厂设置
      POST
    • 系统操作日志查询
      POST
    • 报警模式设置
      POST
    • 设置WIFI
      POST
    • ssh远程设置
      POST
    • 上下限设置
      POST
    • 上下限读取
      POST
    • 上下限读取 Copy
      POST
    • 极性设置
      POST
    • 刀具报警统计
      POST
  • 日志
    • 日志分页查询
      POST
    • 清理日志
      POST
    • 系统运行日志
      POST
  • 实时数据
    • 上位机
    • 网页实时数据WebSocket
    • 当前场景信息查询
  1. 日志

清理日志

开发中
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
上一页
日志分页查询
下一页
系统运行日志
Built with