feat: delete firmware

This commit is contained in:
2025-10-22 21:14:07 +02:00
parent 4a11bad7dd
commit 6ed905b9f3
6 changed files with 163 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ func (a *App) SetupRoutes() *http.ServeMux {
mux.HandleFunc("PUT /firmware/{name}/{version}", a.handler.UpdateFirmwareMetadata)
mux.HandleFunc("GET /firmware", a.handler.ListFirmware)
mux.HandleFunc("GET /firmware/{name}/{version}", a.handler.DownloadFirmware)
mux.HandleFunc("DELETE /firmware/{name}/{version}", a.handler.DeleteFirmware)
// Health check endpoint
mux.HandleFunc("GET /health", a.handler.HealthCheck)