add regenerate endpoint
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2026-01-14 10:06:26 +11:00
parent ca8b39ba0e
commit aa4567d7c1
3 changed files with 126 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ func New(logger *slog.Logger, database db.Database, buildTime string, sha1ver st
mux.HandleFunc("/api/report/inventory", h.InventoryReportDownload)
mux.HandleFunc("/api/report/updates", h.UpdateReportDownload)
mux.HandleFunc("/api/report/snapshot", h.SnapshotReportDownload)
mux.HandleFunc("/api/snapshots/aggregate", h.SnapshotAggregateForce)
mux.HandleFunc("/snapshots/hourly", h.SnapshotHourlyList)
mux.HandleFunc("/snapshots/daily", h.SnapshotDailyList)