通知规则-测试事件处理
POST
https://api.flashcat.cloud/api/n9e/notify-rule/event-pipelines-tryrun
最后修改时间:2025-05-20 06:07:00
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/n9e/notify-rule/event-pipelines-tryrun' \
--header 'Content-Type: application/json' \
--data-raw '{
"event_ids": [
1,
3
],
"notify_config": {
"channel_id": 1,
"template_id": 2,
"severities": [
1,
2
],
"time_ranges": [
{
"start": "08:00",
"end": "18:00",
"week": [
1,
2
]
}
],
"label_keys": [
{
"key": "env",
"op": "==",
"value": "production"
}
]
}
}'
响应示例响应示例
{
"dat":"",
"err":""
}
请求参数
Body 参数application/json