Alerting: Use correct response body for silence post API (#57114)
This commit is contained in:
@@ -413,6 +413,9 @@
|
||||
"auth_password": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
"auth_password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"auth_secret": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
@@ -1161,6 +1164,9 @@
|
||||
"smtp_auth_password": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
"smtp_auth_password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"smtp_auth_secret": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
@@ -3035,6 +3041,9 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"location": {
|
||||
"type": "string"
|
||||
},
|
||||
"months": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -3269,7 +3278,6 @@
|
||||
"type": "object"
|
||||
},
|
||||
"alertGroup": {
|
||||
"description": "AlertGroup alert group",
|
||||
"properties": {
|
||||
"alerts": {
|
||||
"description": "alerts",
|
||||
@@ -3293,7 +3301,6 @@
|
||||
"type": "object"
|
||||
},
|
||||
"alertGroups": {
|
||||
"description": "AlertGroups alert groups",
|
||||
"items": {
|
||||
"$ref": "#/definitions/alertGroup"
|
||||
},
|
||||
@@ -3454,7 +3461,6 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableAlerts": {
|
||||
"description": "GettableAlerts gettable alerts",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gettableAlert"
|
||||
},
|
||||
@@ -3510,13 +3516,13 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableSilences": {
|
||||
"description": "GettableSilences gettable silences",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gettableSilence"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"integration": {
|
||||
"description": "Integration integration",
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
@@ -3613,6 +3619,15 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"postSilencesOKBody": {
|
||||
"properties": {
|
||||
"silenceID": {
|
||||
"description": "silence ID",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"postableAlert": {
|
||||
"description": "PostableAlert postable alert",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user