告警事件通知结果
GET
https://api.flashcat.cloud/api/n9e/event-notify-records/{eid}
最后修改时间:2024-08-07 04:05:49
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/event-notify-records/1'
响应示例响应示例
{
"dat": {
"sub_rules": [
{
"sub_id": 1,
"notifies": {
"dingtalk": [
{
"target": "https://oapi.dingtalk.com/robot/send?access_token=abc123",
"username": "test",
"status": 1,
"detail": "{\"errcode\":300005,\"errmsg\":\"token is not exist\"}"
},
{
"target": "https://oapi.dingtalk.com/robot/send?access_token=abc1234",
"username": "root",
"status": 1,
"detail": "{\"errcode\":0,\"errmsg\":\"ok\"}"
}
],
"feishu": [
{
"target": "https://open.feishu.cn/open-apis/bot/v2/hook/abc123",
"username": "root",
"status": 1,
"detail": "{\"StatusCode\":0,\"StatusMessage\":\"success\",\"code\":0,\"data\":{},\"msg\":\"success\"}"
}
],
"feishucard": [
{
"target": "https://open.feishu.cn/open-apis/bot/v2/hook/abc123",
"username": "root",
"status": 1,
"detail": "{\"StatusCode\":0,\"StatusMessage\":\"success\",\"code\":0,\"data\":{},\"msg\":\"success\"}"
}
],
"wecom": [
{
"target": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=abc123",
"username": "root",
"status": 1,
"detail": "{\"errcode\":0,\"errmsg\":\"ok\"}"
}
]
}
}
],
"notifies": {
"callback": [
{
"target": "https://oapi.dingtalk.com/robot/send?access_token=abc1234",
"username": "root",
"status": 1,
"detail": "{\"errcode\":0,\"errmsg\":\"ok\"}"
}
],
"dingtalk": [
{
"target": "https://oapi.dingtalk.com/robot/send?access_token=abc1234",
"username": "root",
"status": 1,
"detail": "{\"errcode\":0,\"errmsg\":\"ok\"}"
},
{
"target": "https://oapi.dingtalk.com/robot/send?access_token=abc123",
"username": "test",
"status": 1,
"detail": "{\"errcode\":300005,\"errmsg\":\"token is not exist\"}"
}
],
"feishu": [
{
"target": "https://open.feishu.cn/open-apis/bot/v2/hook/abc123",
"username": "root",
"status": 1,
"detail": "{\"StatusCode\":0,\"StatusMessage\":\"success\",\"code\":0,\"data\":{},\"msg\":\"success\"}"
}
],
"feishucard": [
{
"target": "https://open.feishu.cn/open-apis/bot/v2/hook/abc123",
"username": "root",
"status": 1,
"detail": "{\"StatusCode\":0,\"StatusMessage\":\"success\",\"code\":0,\"data\":{},\"msg\":\"success\"}"
}
],
"wecom": [
{
"target": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=abc123",
"username": "root",
"status": 1,
"detail": "{\"errcode\":0,\"errmsg\":\"ok\"}"
}
]
}
},
"err": ""
}
请求参数
Path 参数
eid
integer
必需
示例值:
1