请求网址



{device_id} https://api.dotcom-monitor.com/config_api_v1/device//禁用阿勒特

在指定时间段内禁用设备的警报。

路径参数

领域 类型 必填 描述
device_id

字符串

true

监控设备的独特 ID。 要在平台内请求设备 ID 列表,请参阅 API:按平台获取设备列表

要从您的网络监控帐户中查看设备 ID,请打开设备管理器列表中的目标设备进行编辑。 在浏览器的地址栏中,您将看到类似:

https://user.dotcom-monitor.com/ClientID/DeviceEdit?pid=dc7f4ff2ca944dekjh1078b96707002&deviceId=63698&taskId=132834

设备 Id=63698 是设备ID。

头参数

Content-Type: application/json
示例 将禁用警报 30 分钟的请求的示例后体
{
    "Alert_Silence_min": 30
}

身体参数

领域 类型 必填 描述
Alert_Silence_min

Int

true

定义禁用所有警报的时间段(以分钟为单位)。

成功响应

示例响应
{
    "Success":true,
    "Result":"Alert silence for device 8533 has been set to 30"
}