|
|
|
@ -165,6 +165,9 @@ |
|
|
|
|
}, |
|
|
|
|
"AlertRuleEditorSettings": { |
|
|
|
|
"properties": { |
|
|
|
|
"simplified_notifications_section": { |
|
|
|
|
"type": "boolean" |
|
|
|
|
}, |
|
|
|
|
"simplified_query_and_expressions_section": { |
|
|
|
|
"type": "boolean" |
|
|
|
|
} |
|
|
|
@ -755,7 +758,7 @@ |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"ErrorSource": { |
|
|
|
|
"$ref": "#/definitions/ErrorSource" |
|
|
|
|
"$ref": "#/definitions/Source" |
|
|
|
|
}, |
|
|
|
|
"Frames": { |
|
|
|
|
"$ref": "#/definitions/Frames" |
|
|
|
@ -895,23 +898,23 @@ |
|
|
|
|
"type": { |
|
|
|
|
"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", |
|
|
|
|
"type": "string" |
|
|
|
@ -965,10 +968,6 @@ |
|
|
|
|
}, |
|
|
|
|
"type": "object" |
|
|
|
|
}, |
|
|
|
|
"ErrorSource": { |
|
|
|
|
"description": "ErrorSource type defines the source of the error", |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"ErrorType": { |
|
|
|
|
"title": "ErrorType models the different API error types.", |
|
|
|
|
"type": "string" |
|
|
|
@ -3606,6 +3605,9 @@ |
|
|
|
|
}, |
|
|
|
|
"RuleDiscovery": { |
|
|
|
|
"properties": { |
|
|
|
|
"groupNextToken": { |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"groups": { |
|
|
|
|
"items": { |
|
|
|
|
"$ref": "#/definitions/RuleGroup" |
|
|
|
@ -3975,6 +3977,10 @@ |
|
|
|
|
"SmtpNotEnabled": { |
|
|
|
|
"$ref": "#/definitions/ResponseDetails" |
|
|
|
|
}, |
|
|
|
|
"Source": { |
|
|
|
|
"title": "Source type defines the status source.", |
|
|
|
|
"type": "string" |
|
|
|
|
}, |
|
|
|
|
"Span": { |
|
|
|
|
"properties": { |
|
|
|
|
"Length": { |
|
|
|
@ -4802,7 +4808,6 @@ |
|
|
|
|
"type": "object" |
|
|
|
|
}, |
|
|
|
|
"gettableAlerts": { |
|
|
|
|
"description": "GettableAlerts gettable alerts", |
|
|
|
|
"items": { |
|
|
|
|
"$ref": "#/definitions/gettableAlert", |
|
|
|
|
"type": "object" |
|
|
|
@ -4927,7 +4932,6 @@ |
|
|
|
|
"type": "object" |
|
|
|
|
}, |
|
|
|
|
"gettableSilences": { |
|
|
|
|
"description": "GettableSilences gettable silences", |
|
|
|
|
"items": { |
|
|
|
|
"$ref": "#/definitions/gettableSilence", |
|
|
|
|
"type": "object" |
|
|
|
@ -8452,7 +8456,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"summary": "Get all notification templates.", |
|
|
|
|
"summary": "Get all notification template groups.", |
|
|
|
|
"tags": [ |
|
|
|
|
"provisioning" |
|
|
|
|
] |
|
|
|
@ -8463,7 +8467,7 @@ |
|
|
|
|
"operationId": "RouteDeleteTemplate", |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"description": "Template name", |
|
|
|
|
"description": "Template group name", |
|
|
|
|
"in": "path", |
|
|
|
|
"name": "name", |
|
|
|
|
"required": true, |
|
|
|
@ -8487,7 +8491,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"summary": "Delete a template.", |
|
|
|
|
"summary": "Delete a notification template group.", |
|
|
|
|
"tags": [ |
|
|
|
|
"provisioning" |
|
|
|
|
] |
|
|
|
@ -8496,7 +8500,7 @@ |
|
|
|
|
"operationId": "RouteGetTemplate", |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"description": "Template Name", |
|
|
|
|
"description": "Template group name", |
|
|
|
|
"in": "path", |
|
|
|
|
"name": "name", |
|
|
|
|
"required": true, |
|
|
|
@ -8517,7 +8521,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"summary": "Get a notification template.", |
|
|
|
|
"summary": "Get a notification template group.", |
|
|
|
|
"tags": [ |
|
|
|
|
"provisioning" |
|
|
|
|
] |
|
|
|
@ -8529,7 +8533,7 @@ |
|
|
|
|
"operationId": "RoutePutTemplate", |
|
|
|
|
"parameters": [ |
|
|
|
|
{ |
|
|
|
|
"description": "Template Name", |
|
|
|
|
"description": "Template group name", |
|
|
|
|
"in": "path", |
|
|
|
|
"name": "name", |
|
|
|
|
"required": true, |
|
|
|
@ -8568,7 +8572,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"summary": "Updates an existing notification template.", |
|
|
|
|
"summary": "Updates an existing notification template group.", |
|
|
|
|
"tags": [ |
|
|
|
|
"provisioning" |
|
|
|
|
] |
|
|
|
|