Create Channel
POST
/channel/createRequest
If not provided, only creator and owner account can manage channel configuration
No auto-recovery if not provided
Public by default if not provided
Only exists when using pattern grouping. Match branch conditions from top to bottom in priority, use branch dimensions for grouping when matched
Only exists when using pattern grouping. If no branch matches, use these dimensions as fallback. Note these are multiple sets of grouping dimensions, alerts will be grouped if any set of dimensions matches
Only exists when using pattern grouping. Defaults to false. The difference when configuring multiple equal items: - When enabled, grouping conditions where values are both empty in alert and incident will be treated as different items. - When disabled, grouping conditions where values are both empty in alert and incident will be treated as same items.
0 means keep merging alerts until incident closes
0 means no storm warning
Range [2,100], default 4. When dedup_key is same, incidents are considered same. dedup_key comes from alert_key of first merged alert
Range [1,1440], default 60
Range [30,1440], default 120
{
"channel_name": "string",
"description": "string",
"team_id": 0,
"escalate_rule": {
"aggr_window": 0,
"template_id": "string",
"target": {
"team_ids": [
0
],
"person_ids": [
0
],
"schedule_to_role_ids": {
"{schedule_id}": [
0
]
},
"by": {
"follow_preference": true,
"critical": [
"email"
],
"warning": [
"email"
],
"info": [
"email"
]
},
"webhooks": [
{
"type": "feishu_app",
"settings": {}
}
]
}
},
"plugin_ids": [
0
],
"auto_resolve_timeout": 0,
"is_private": true,
"group": {
"method": "i",
"cases": [
{
"if": [
{
"key": "title",
"oper": "IN",
"vals": [
"string"
]
}
],
"equals": [
"string"
]
}
],
"equals": [
[
"title"
]
],
"all_equals_required": true,
"time_window": 0,
"storm_threshold": 0
},
"flapping": {
"max_changes": "i",
"in_mins": 0,
"mute_mins": 0
}
}