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
SMPROD-1309: Example for restoring Alerts now removes non-existent notification channel IDs (#54)
* Handle the case of a Notification Channel with no name
* In the example for restoring Alerts, drop channel IDs that don't exist in the target environment
* Handle restore of Alert JSON that was downloaded via Export JSON in the web UI
* Handle null description on Alert updates as well
Get an array of all configured Notification Channel IDs, or a filtered subset of them.
116
117
117
-
ifnotself._checkResponse(res):
118
-
return [False, self.lasterr]
118
+
**Arguments**
119
+
- **channels**: an optional array of dictionaries to limit the set of Notification Channel IDs returned. If not specified, IDs for all configured Notification Channels are returned. Each dictionary contains a ``type`` field that can be one of the available types of Notification Channel (``EMAIL``, ``SNS``, ``PAGER_DUTY``, ``SLACK``, ``OPSGENIE``, ``WEBHOOK``) as well as additional elements specific to each channel type.
0 commit comments