获取告警信息
POST
/api/v1/things/rule/alarm/info/read请求参数
Body 参数application/json
id
integer <int64>
id
示例
{
"id": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
A successful response.
数据结构
code
integer
返回code
默认值:
200
msg
string
返回的消息
data
object (AlarmInfo)
可选
id
integer <int64>
可选
name
string
可选
status
integer <int64>
可选
状态: 1启用 2禁用
desc
string
可选
createdTime
integer <int64>
可选
level
integer <int64>
可选
告警配置级别(1提醒 2一般 3严重 4紧急 5超紧急)
userIDs
array[string]
指定用户ID
accounts
array[string]
账号
notifies
array[object (AlarmNotify) {2}]
通知
sceneIDs
array[integer <int64>]
绑定的场景列表
示例
未设置
最后修改时间: 4 天前