add regenerate endpoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-15 11:13:00 +11:00
parent 11f7d36bfc
commit 4d754ee263
2 changed files with 69 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ func New(logger *slog.Logger, database db.Database, buildTime string, sha1ver st
mux.HandleFunc("/api/report/snapshot", h.SnapshotReportDownload)
mux.HandleFunc("/api/snapshots/aggregate", h.SnapshotAggregateForce)
mux.HandleFunc("/api/snapshots/migrate", h.SnapshotMigrate)
mux.HandleFunc("/api/snapshots/regenerate-hourly-reports", h.SnapshotRegenerateHourlyReports)
mux.HandleFunc("/snapshots/hourly", h.SnapshotHourlyList)
mux.HandleFunc("/snapshots/daily", h.SnapshotDailyList)