- 设备管理
- 告警中心
- 通知中心
- 数据转发
- 规则引擎
- 系统管理
- 登录
- 注册
- 用户
- 分组
- 菜单
- 角色
- 字典
- 文件
- 系统
- 分组
- 应用管理
- SCADA组态服务
- 现场管理
- 设备任务
通知网关配置更改
POST
/api/notification/sender/post
请求参数
Header 参数
Authentication
string
必需
示例值:
{{token}}
Body 参数application/json
settings
array [object {3}]
必需
id
string
必需
value
string
必需
title
string
必需
示例
{
"settings": [
{
"id": "email.host",
"value": "111.111.111.00",
"title": "邮件服务器"
},
{
"id": "email.port",
"value": "111",
"title": "邮件服务器端口"
},
{
"id": "email.username",
"value": "xx@qq.com",
"title": "邮箱账号"
},
{
"id": "email.password",
"value": "xxxxx",
"title": "邮箱密码"
}
]
}
示例代码
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/notification/sender/post' \
--header 'Authentication: 在用户管理中创建或通过login接口获取' \
--header 'Authentication;' \
--header 'Content-Type: application/json' \
--data-raw '{
"settings": [
{
"id": "email.host",
"value": "111.111.111.00",
"title": "邮件服务器"
},
{
"id": "email.port",
"value": "111",
"title": "邮件服务器端口"
},
{
"id": "email.username",
"value": "xx@qq.com",
"title": "邮箱账号"
},
{
"id": "email.password",
"value": "xxxxx",
"title": "邮箱密码"
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-03-31 07:35:31