Skip to content

Commit 00a1497

Browse files
authored
Merge pull request #19 from StackVista/sts-526-mute-notifications
STS 526: mute notifications
2 parents 113b884 + 1d73591 commit 00a1497

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎spec/notification_configurations.api.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ components:
220220
type: string
221221
notifyHealthStates:
222222
$ref: "#/components/schemas/NotifyOnOptions"
223+
notifyOnSilencing:
224+
type: boolean
223225
monitors:
224226
type: array
225227
items:

‎spec_settings/openapi.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ components:
174174
type: string
175175
notifyOnHealthStates:
176176
$ref: "#/components/schemas/NotifyOnOptions"
177+
notifyOnSilencing:
178+
type: boolean
177179
notifyMonitors:
178180
type: array
179181
items:
@@ -205,6 +207,7 @@ components:
205207
- type
206208
- name
207209
- notifyOnHealthStates
210+
- notifyOnSilencing
208211
- notifyMonitors
209212
- notifyMonitorTags
210213
- componentTypes

‎spec_webhook/webhook.api.yaml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ components:
100100
enum:
101101
- DEVIATING
102102
- CRITICAL
103+
- MUTED
103104
title:
104105
type: string
105106
triggeredTimeMs:
@@ -122,12 +123,16 @@ components:
122123
reason:
123124
type: string
124125
enum:
125-
- ConfigRemoved
126-
- ConfigChanged
126+
- ConfigurationRemoved
127+
- ConfigurationChanged
127128
- ComponentRemoved
128129
- ComponentChanged
129130
- HealthStateResolved
131+
- HealthStateSilenced
130132
- ChannelRemoved
133+
- MonitorChangedOrRemoved
134+
silencingNote:
135+
type: string
131136
required:
132137
- type
133138
- reason

0 commit comments

Comments
 (0)