curl --request POST \
--url 'https://api.flashcat.cloud/channel/escalate/rule/info?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": 123,
"rule_id": "<string>"
}
'{
"error": {
"code": "<string>",
"message": "<string>"
},
"data": {
"channel_id": 123,
"rule_id": "<string>",
"rule_name": "<string>",
"template_id": "<string>",
"description": "<string>",
"status": "enabled",
"priority": 123,
"created_at": "<string>",
"updated_at": "<string>",
"updated_by": 123,
"layers": [
{
"max_times": 123,
"notify_step": 123,
"escalate_window": 123,
"target": {
"team_ids": [
123
],
"person_ids": [
123
],
"schedule_to_role_ids": {
"{schedule_id}": [
123
]
},
"by": {
"critical": [
"email"
],
"warning": [
"email"
],
"info": [
"email"
],
"follow_preference": true
},
"webhooks": [
{
"type": "feishu_app",
"settings": {
"data_source_id": 123,
"chat_ids": "<string>",
"reply_mode": "threads",
"reply_event_types": [
"<string>"
],
"disable_at": true,
"put_top_notice": true,
"severities": [
"Info"
]
}
}
]
},
"force_escalate": true
}
],
"aggr_window": 123,
"time_filters": [
{
"start": "<string>",
"end": "<string>",
"repeat": [
0
],
"cal_id": "<string>",
"is_off": true
}
],
"filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"<string>"
]
}
]
]
}
}curl --request POST \
--url 'https://api.flashcat.cloud/channel/escalate/rule/info?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": 123,
"rule_id": "<string>"
}
'{
"error": {
"code": "<string>",
"message": "<string>"
},
"data": {
"channel_id": 123,
"rule_id": "<string>",
"rule_name": "<string>",
"template_id": "<string>",
"description": "<string>",
"status": "enabled",
"priority": 123,
"created_at": "<string>",
"updated_at": "<string>",
"updated_by": 123,
"layers": [
{
"max_times": 123,
"notify_step": 123,
"escalate_window": 123,
"target": {
"team_ids": [
123
],
"person_ids": [
123
],
"schedule_to_role_ids": {
"{schedule_id}": [
123
]
},
"by": {
"critical": [
"email"
],
"warning": [
"email"
],
"info": [
"email"
],
"follow_preference": true
},
"webhooks": [
{
"type": "feishu_app",
"settings": {
"data_source_id": 123,
"chat_ids": "<string>",
"reply_mode": "threads",
"reply_event_types": [
"<string>"
],
"disable_at": true,
"put_top_notice": true,
"severities": [
"Info"
]
}
}
]
},
"force_escalate": true
}
],
"aggr_window": 123,
"time_filters": [
{
"start": "<string>",
"end": "<string>",
"repeat": [
0
],
"cal_id": "<string>",
"is_off": true
}
],
"filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"<string>"
]
}
]
]
}
}此页面对您有帮助吗?