curl --location --request POST 'https://api.flashcat.cloud/route/preview?app_key=<api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"alert_ids": [
"98",
"88",
"65"
],
"cases": [
{
"if": [
{
"key": "laboris",
"oper": "ipsum sunt",
"vals": [
"aliquip proident amet",
"sed cillum irure tempor anim",
"sunt sint occaecat aliqua anim"
]
}
],
"channel_ids": [
46
],
"fallthrough": false,
"routing_mode": "ut Ut Excepteur commodo",
"name_mapping_label": "谬磊"
},
{
"if": [
{
"key": "nostrud ex minim ad",
"oper": "sunt minim consequat est elit",
"vals": [
"cillum consectetur nostrud dolore deserunt"
]
}
],
"channel_ids": [
8
],
"fallthrough": false,
"routing_mode": "elit laborum voluptate velit",
"name_mapping_label": "僪斌"
},
{
"if": [
{
"key": "ad proident culpa",
"oper": "consectetur officia Excepteur deserunt",
"vals": [
"non voluptate in quis",
"voluptate eu et"
]
},
{
"key": "Duis dolore culpa",
"oper": "reprehenderit laboris",
"vals": [
"sit exercitation",
"occaecat pariatur veniam officia nulla",
"sit consectetur amet ad"
]
},
{
"key": "ut sed fugiat sunt mollit",
"oper": "anim irure ullamco sit Ut",
"vals": [
"sit ipsum est reprehenderit"
]
}
],
"channel_ids": [
19,
68
],
"fallthrough": false,
"routing_mode": "mollit eu",
"name_mapping_label": "盈超"
}
],
"default": {
"channel_ids": [
78,
40
]
}
}'{
"error": {},
"data": {
"items": [
{
"alert_id": "string",
"alert_title": "string",
"alert_time": 0,
"matched_routes": [
{
"channels": [
{
"channel_id": 0,
"channel_name": "string"
}
],
"condition": "string",
"route_index": 0
}
]
}
]
}
}