Alerting: Add endpoint for querying state history (#62166)
* Define endpoint and generate * Wire up and register endpoint * Cleanup, define authorization * Forgot the leading slash * Wire up query and SignedInUser * Wire up timerange query params * Add todo for label queries * Drop comment * Update path to rules subtree
This commit is contained in:
@@ -6642,6 +6642,23 @@
|
||||
"testing"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/rules/history": {
|
||||
"get": {
|
||||
"operationId": "RouteGetStateHistory",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/responses/StateHistory"
|
||||
}
|
||||
},
|
||||
"summary": "Query state history.",
|
||||
"tags": [
|
||||
"history"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"produces": [
|
||||
|
||||
Reference in New Issue
Block a user