Alerting: Regenerate swagger spec (#98914)

This commit is contained in:
Matthew Jacobson
2025-01-14 01:23:45 +02:00
committed by GitHub
parent 766d645d82
commit 6883a4b294
5 changed files with 168 additions and 147 deletions
+35 -31
View File
@@ -3306,7 +3306,7 @@
"provisioning",
"stable"
],
"summary": "Get all notification templates.",
"summary": "Get all notification template groups.",
"operationId": "RouteGetTemplates",
"responses": {
"200": {
@@ -3324,12 +3324,12 @@
"provisioning",
"stable"
],
"summary": "Get a notification template.",
"summary": "Get a notification template group.",
"operationId": "RouteGetTemplate",
"parameters": [
{
"type": "string",
"description": "Template Name",
"description": "Template group name",
"name": "name",
"in": "path",
"required": true
@@ -3358,12 +3358,12 @@
"provisioning",
"stable"
],
"summary": "Updates an existing notification template.",
"summary": "Updates an existing notification template group.",
"operationId": "RoutePutTemplate",
"parameters": [
{
"type": "string",
"description": "Template Name",
"description": "Template group name",
"name": "name",
"in": "path",
"required": true
@@ -3407,12 +3407,12 @@
"provisioning",
"stable"
],
"summary": "Delete a template.",
"summary": "Delete a notification template group.",
"operationId": "RouteDeleteTemplate",
"parameters": [
{
"type": "string",
"description": "Template name",
"description": "Template group name",
"name": "name",
"in": "path",
"required": true
@@ -3797,6 +3797,9 @@
"AlertRuleEditorSettings": {
"type": "object",
"properties": {
"simplified_notifications_section": {
"type": "boolean"
},
"simplified_query_and_expressions_section": {
"type": "boolean"
}
@@ -4388,7 +4391,7 @@
"type": "string"
},
"ErrorSource": {
"$ref": "#/definitions/ErrorSource"
"$ref": "#/definitions/Source"
},
"Frames": {
"$ref": "#/definitions/Frames"
@@ -4533,23 +4536,23 @@
"type": "string",
"enum": [
"alertmanager",
" dingding",
" discord",
" email",
" googlechat",
" kafka",
" line",
" opsgenie",
" pagerduty",
" pushover",
" sensugo",
" slack",
" teams",
" telegram",
" threema",
" victorops",
" webhook",
" wecom"
"dingding",
"discord",
"email",
"googlechat",
"kafka",
"line",
"opsgenie",
"pagerduty",
"pushover",
"sensugo",
"slack",
"teams",
"telegram",
"threema",
"victorops",
"webhook",
"wecom"
],
"example": "webhook"
},
@@ -4597,10 +4600,6 @@
}
}
},
"ErrorSource": {
"description": "ErrorSource type defines the source of the error",
"type": "string"
},
"ErrorType": {
"type": "string",
"title": "ErrorType models the different API error types."
@@ -7243,6 +7242,9 @@
"groups"
],
"properties": {
"groupNextToken": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
@@ -7608,6 +7610,10 @@
"SmtpNotEnabled": {
"$ref": "#/definitions/ResponseDetails"
},
"Source": {
"type": "string",
"title": "Source type defines the status source."
},
"Span": {
"type": "object",
"title": "A Span defines a continuous sequence of buckets.",
@@ -8435,7 +8441,6 @@
}
},
"gettableAlerts": {
"description": "GettableAlerts gettable alerts",
"type": "array",
"items": {
"type": "object",
@@ -8560,7 +8565,6 @@
}
},
"gettableSilences": {
"description": "GettableSilences gettable silences",
"type": "array",
"items": {
"type": "object",