Skip to content

Commit 637101b

Browse files
authored
chore: update alerting swagger spec
1 parent 2c2ac09 commit 637101b

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4428,7 +4428,6 @@
44284428
"type": "object"
44294429
},
44304430
"alertGroups": {
4431-
"description": "AlertGroups alert groups",
44324431
"items": {
44334432
"$ref": "#/definitions/alertGroup"
44344433
},
@@ -4595,6 +4594,7 @@
45954594
"type": "array"
45964595
},
45974596
"gettableSilence": {
4597+
"description": "GettableSilence gettable silence",
45984598
"properties": {
45994599
"comment": {
46004600
"description": "comment",
@@ -4643,13 +4643,13 @@
46434643
"type": "object"
46444644
},
46454645
"gettableSilences": {
4646+
"description": "GettableSilences gettable silences",
46464647
"items": {
46474648
"$ref": "#/definitions/gettableSilence"
46484649
},
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",

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -4429,7 +4429,6 @@
44294429
"type": "object"
44304430
},
44314431
"alertGroups": {
4432-
"description": "AlertGroups alert groups",
44334432
"items": {
44344433
"$ref": "#/definitions/alertGroup"
44354434
},
@@ -4590,13 +4589,13 @@
45904589
"type": "object"
45914590
},
45924591
"gettableAlerts": {
4592+
"description": "GettableAlerts gettable alerts",
45934593
"items": {
45944594
"$ref": "#/definitions/gettableAlert"
45954595
},
45964596
"type": "array"
45974597
},
45984598
"gettableSilence": {
4599-
"description": "GettableSilence gettable silence",
46004599
"properties": {
46014600
"comment": {
46024601
"description": "comment",
@@ -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

+2-3
Original file line numberDiff line numberDiff line change
@@ -7838,7 +7838,6 @@
78387838
"$ref": "#/definitions/alertGroup"
78397839
},
78407840
"alertGroups": {
7841-
"description": "AlertGroups alert groups",
78427841
"type": "array",
78437842
"items": {
78447843
"$ref": "#/definitions/alertGroup"
@@ -8001,14 +8000,14 @@
80018000
"$ref": "#/definitions/gettableAlert"
80028001
},
80038002
"gettableAlerts": {
8003+
"description": "GettableAlerts gettable alerts",
80048004
"type": "array",
80058005
"items": {
80068006
"$ref": "#/definitions/gettableAlert"
80078007
},
80088008
"$ref": "#/definitions/gettableAlerts"
80098009
},
80108010
"gettableSilence": {
8011-
"description": "GettableSilence gettable silence",
80128011
"type": "object",
80138012
"required": [
80148013
"comment",
@@ -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)