Export: Export plugin settings (#52129)

This commit is contained in:
Ryan McKinley
2022-07-13 12:36:14 -07:00
committed by GitHub
parent 06bd8b8e7a
commit 5fe1068f81
8 changed files with 347 additions and 106 deletions
+1
View File
@@ -567,6 +567,7 @@ func (hs *HTTPServer) registerRoutes() {
adminRoute.Get("/export", reqGrafanaAdmin, routing.Wrap(hs.ExportService.HandleGetStatus))
adminRoute.Post("/export", reqGrafanaAdmin, routing.Wrap(hs.ExportService.HandleRequestExport))
adminRoute.Post("/export/stop", reqGrafanaAdmin, routing.Wrap(hs.ExportService.HandleRequestStop))
adminRoute.Get("/export/options", reqGrafanaAdmin, routing.Wrap(hs.ExportService.HandleGetOptions))
}
adminRoute.Post("/encryption/rotate-data-keys", reqGrafanaAdmin, routing.Wrap(hs.AdminRotateDataEncryptionKeys))