- 设备管理
- 告警中心
- 通知中心
- 数据转发
- 规则引擎
- 系统管理
- 登录
- 注册
- 用户
- 分组
- 菜单
- 角色
- 字典
- 文件
- 系统
- 分组
- 应用管理
- SCADA组态服务
- 现场管理
- 设备任务
修改处理器
POST
/api/rule/processor/modify
请求参数
Header 参数
Authentication
string
必需
示例值:
{{token}}
Body 参数application/json
id
string
处理器id
name
string
处理器名称
desc
string
处理器描述
previous
string
上个处理器ID
next
string
下个处理器id
script
string
处理器脚本
loc
string
坐标
trigger
string
触发方式
schedule
string
crontab表达式
示例
{
"id": "string",
"name": "string",
"desc": "string",
"previous": "string",
"next": "string",
"script": "string",
"loc": "string",
"trigger": "string",
"schedule": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'ssiot.cc/api/rule/processor/modify' \
--header 'Authentication: 在用户管理中创建或通过login接口获取' \
--header 'Authentication;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"name": "string",
"desc": "string",
"previous": "string",
"next": "string",
"script": "string",
"loc": "string",
"trigger": "string",
"schedule": "string"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-05-15 18:07:20