Alerting: New API endpoint GET /api/v1/ngalert (#55134)

* declare new endpoint /api/v1/ngalert
* add authorization for new path
* add request handler for the new path
This commit is contained in:
Yuriy Tseretyan
2022-09-14 14:03:10 -04:00
committed by GitHub
parent ca2139e9ce
commit 8a62020211
9 changed files with 142 additions and 1 deletions
+13
View File
@@ -232,6 +232,19 @@
],
"type": "object"
},
"AlertingStatus": {
"properties": {
"alertmanagersChoice": {
"enum": [
"all",
"internal",
"external"
],
"type": "string"
}
},
"type": "object"
},
"ApiRuleNode": {
"properties": {
"alert": {