You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Fix: Add API supported missing type to escalation policy (#2411)
* add missing step type notify_if_num_alerts_in_window
* bump amixr-api-go-client version
* update docs and remove field requirement. OnCall api does not enforce parameters
-`escalation_chain_id` (String) The ID of the escalation chain.
62
62
-`position` (Number) The position of the escalation step (starts from 0).
63
-
-`type` (String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members, declare_incident
63
+
-`type` (String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, notify_if_num_alerts_in_window, repeat_escalation, notify_team_members, declare_incident
-`notify_if_time_to` (String) The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).
73
73
-`notify_on_call_from_schedule` (String) ID of a Schedule for notify_on_call_from_schedule type step.
74
74
-`notify_to_team_members` (String) The ID of a Team for a notify_team_members type step.
75
+
-`num_alerts_in_window` (Number) Number of alerts that must occur within the time window to continue escalation for notify_if_num_alerts_in_window type step.
76
+
-`num_minutes_in_window` (Number) Time window in minutes to count alerts for notify_if_num_alerts_in_window type step.
75
77
-`persons_to_notify` (Set of String) The list of ID's of users for notify_persons type step.
76
78
-`persons_to_notify_next_each_time` (Set of String) The list of ID's of users for notify_person_next_each_time type step.
77
79
-`severity` (String) The severity of the incident for declare_incident type step.
0 commit comments