联犀-things
  • things
    • device
    • group
    • ota
    • product
    • protocol
    • rule
      • alarm
        • info
          • 新增告警POST
          • 删除告警POST
          • 获取告警信息列表POST
          • 获取告警信息POST
          • 更新告警POST
        • record
        • scene
      • scene
    • schema
    • slot
    • user
logoPowered by Apifox
  1. things
  2. rule
  3. alarm
  4. info

获取告警信息

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 天前