Skip to content

Commit 76f43d8

Browse files
authored
chore: update alerting swagger spec
1 parent fdb4626 commit 76f43d8

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4205,6 +4205,7 @@
42054205
"type": "object"
42064206
},
42074207
"alertGroup": {
4208+
"description": "AlertGroup alert group",
42084209
"properties": {
42094210
"alerts": {
42104211
"description": "alerts",
@@ -4228,7 +4229,6 @@
42284229
"type": "object"
42294230
},
42304231
"alertGroups": {
4231-
"description": "AlertGroups alert groups",
42324232
"items": {
42334233
"$ref": "#/definitions/alertGroup"
42344234
},
@@ -4395,7 +4395,6 @@
43954395
"type": "array"
43964396
},
43974397
"gettableSilence": {
4398-
"description": "GettableSilence gettable silence",
43994398
"properties": {
44004399
"comment": {
44014400
"description": "comment",
@@ -4444,14 +4443,12 @@
44444443
"type": "object"
44454444
},
44464445
"gettableSilences": {
4447-
"description": "GettableSilences gettable silences",
44484446
"items": {
44494447
"$ref": "#/definitions/gettableSilence"
44504448
},
44514449
"type": "array"
44524450
},
44534451
"integration": {
4454-
"description": "Integration integration",
44554452
"properties": {
44564453
"lastNotifyAttempt": {
44574454
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4595,6 +4592,7 @@
45954592
"type": "array"
45964593
},
45974594
"postableSilence": {
4595+
"description": "PostableSilence postable silence",
45984596
"properties": {
45994597
"comment": {
46004598
"description": "comment",
@@ -4632,7 +4630,6 @@
46324630
"type": "object"
46334631
},
46344632
"receiver": {
4635-
"description": "Receiver receiver",
46364633
"properties": {
46374634
"active": {
46384635
"description": "active",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4205,6 +4205,7 @@
42054205
"type": "object"
42064206
},
42074207
"alertGroup": {
4208+
"description": "AlertGroup alert group",
42084209
"properties": {
42094210
"alerts": {
42104211
"description": "alerts",
@@ -4396,6 +4397,7 @@
43964397
"type": "array"
43974398
},
43984399
"gettableSilence": {
4400+
"description": "GettableSilence gettable silence",
43994401
"properties": {
44004402
"comment": {
44014403
"description": "comment",
@@ -4451,7 +4453,6 @@
44514453
"type": "array"
44524454
},
44534455
"integration": {
4454-
"description": "Integration integration",
44554456
"properties": {
44564457
"lastNotifyAttempt": {
44574458
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7271,6 +7271,7 @@
72717271
}
72727272
},
72737273
"alertGroup": {
7274+
"description": "AlertGroup alert group",
72747275
"type": "object",
72757276
"required": [
72767277
"alerts",
@@ -7466,6 +7467,7 @@
74667467
"$ref": "#/definitions/gettableAlerts"
74677468
},
74687469
"gettableSilence": {
7470+
"description": "GettableSilence gettable silence",
74697471
"type": "object",
74707472
"required": [
74717473
"comment",
@@ -7523,7 +7525,6 @@
75237525
"$ref": "#/definitions/gettableSilences"
75247526
},
75257527
"integration": {
7526-
"description": "Integration integration",
75277528
"type": "object",
75287529
"required": [
75297530
"name",

0 commit comments

Comments
 (0)