Alerting: Rule Modify Export APIs (#75322)
* extend RuleStore interface to get namespace by UID * add new export API endpoints * implement request handlers * update authorization and wire handlers to paths * add folder error matchers to errorToResponse * add tests for export methods
This commit is contained in:
@@ -71,7 +71,7 @@ import (
|
||||
// Responses:
|
||||
// 204: description: The alert rule was deleted successfully.
|
||||
|
||||
// swagger:parameters RouteGetAlertRulesExport
|
||||
// swagger:parameters RouteGetAlertRulesExport RouteGetRulesForExport
|
||||
type AlertRulesExportParameters struct {
|
||||
ExportQueryParams
|
||||
// UIDs of folders from which to export rules
|
||||
|
||||
Reference in New Issue
Block a user