告警与响应相关接口/告警路由与策略
PUTAlerting起始版本 1.0同步需要认证
替换告警通知策略
原子替换通知策略单个事务固定AU告警008 PRD 4 PUT语义原子替换通知策略。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
policiesList必填策略。
示例: (nested array)
nameString资源名称。
示例: Critical Alert Routing
descriptionString资源的详细描述。
示例: Route critical alerts to ops channels
priorityInteger优先级。
示例: 1
isDefaultBoolean是否默认捕获策略。
示例: false
matchersList标签匹配器路由决策。
示例: (nested array)
keyString键。
示例: severity
operatorString比较运算符。
示例: eq
valueString字段值。
示例: critical
channelIdsList渠道UUI DS投递通知。
示例: item1,item2
groupByList分组字段。
示例: item1,item2
groupWaitInteger秒等待首次通知。
示例: 30
groupIntervalInteger秒之间分组批次。
示例: 300
repeatIntervalInteger秒重复通知。
示例: 3600
响应状态
请求地址
PUT/api/v1/alerting/notification-policies
/api/v1/alerting/notification-policies
请求示例
curl -X PUT '{host}/api/v1/alerting/notification-policies' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"policies":"(nested array)"}'
响应示例
200{
"items": [
{}
]
}变更历史
此 API 暂无变更历史记录。
