通知规则详情
GET
https://api.flashcat.cloud/api/n9e/notify-rule/{id}
最后修改时间:2025-05-20 06:06:55
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/notify-rule/'
响应示例响应示例
{
"dat": {
"id": 12345,
"name": "High CPU Alert",
"description": "Alert when CPU usage exceeds 80%",
"enable": true,
"user_group_ids": [
101,
102
],
"notify_configs": [
{
"channel_id": 3,
"template_id": 2,
"params": {
"threshold": 80
},
"severities": [
1,
2
],
"time_ranges": [
{
"start": "08:00",
"end": "18:00",
"week": [
3,
4
]
}
],
"label_keys": [
{
"key": "env",
"op": "==",
"value": "production"
}
]
}
]
},
"err": ""
}
请求参数
Path 参数
id
string
必需