Skip to content

Commit 230ddc8

Browse files
authored
chore: update alerting swagger spec
1 parent 2c2ac09 commit 230ddc8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pkg/services/ngalert/api/tooling/api.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4405,6 +4405,7 @@
44054405
"type": "object"
44064406
},
44074407
"alertGroup": {
4408+
"description": "AlertGroup alert group",
44084409
"properties": {
44094410
"alerts": {
44104411
"description": "alerts",
@@ -4428,7 +4429,6 @@
44284429
"type": "object"
44294430
},
44304431
"alertGroups": {
4431-
"description": "AlertGroups alert groups",
44324432
"items": {
44334433
"$ref": "#/definitions/alertGroup"
44344434
},
@@ -4589,6 +4589,7 @@
45894589
"type": "object"
45904590
},
45914591
"gettableAlerts": {
4592+
"description": "GettableAlerts gettable alerts",
45924593
"items": {
45934594
"$ref": "#/definitions/gettableAlert"
45944595
},
@@ -4649,7 +4650,6 @@
46494650
"type": "array"
46504651
},
46514652
"integration": {
4652-
"description": "Integration integration",
46534653
"properties": {
46544654
"lastNotifyAttempt": {
46554655
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4793,6 +4793,7 @@
47934793
"type": "array"
47944794
},
47954795
"postableSilence": {
4796+
"description": "PostableSilence postable silence",
47964797
"properties": {
47974798
"comment": {
47984799
"description": "comment",
@@ -4830,6 +4831,7 @@
48304831
"type": "object"
48314832
},
48324833
"receiver": {
4834+
"description": "Receiver receiver",
48334835
"properties": {
48344836
"active": {
48354837
"description": "active",

pkg/services/ngalert/api/tooling/post.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4405,7 +4405,6 @@
44054405
"type": "object"
44064406
},
44074407
"alertGroup": {
4408-
"description": "AlertGroup alert group",
44094408
"properties": {
44104409
"alerts": {
44114410
"description": "alerts",
@@ -4645,7 +4644,6 @@
46454644
"type": "object"
46464645
},
46474646
"gettableSilences": {
4648-
"description": "GettableSilences gettable silences",
46494647
"items": {
46504648
"$ref": "#/definitions/gettableSilence"
46514649
},
@@ -4796,6 +4794,7 @@
47964794
"type": "array"
47974795
},
47984796
"postableSilence": {
4797+
"description": "PostableSilence postable silence",
47994798
"properties": {
48004799
"comment": {
48014800
"description": "comment",

pkg/services/ngalert/api/tooling/spec.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7813,7 +7813,6 @@
78137813
}
78147814
},
78157815
"alertGroup": {
7816-
"description": "AlertGroup alert group",
78177816
"type": "object",
78187817
"required": [
78197818
"alerts",
@@ -8058,7 +8057,6 @@
80588057
"$ref": "#/definitions/gettableSilence"
80598058
},
80608059
"gettableSilences": {
8061-
"description": "GettableSilences gettable silences",
80628060
"type": "array",
80638061
"items": {
80648062
"$ref": "#/definitions/gettableSilence"
@@ -8211,6 +8209,7 @@
82118209
}
82128210
},
82138211
"postableSilence": {
8212+
"description": "PostableSilence postable silence",
82148213
"type": "object",
82158214
"required": [
82168215
"comment",

0 commit comments

Comments
 (0)