WIP
This commit is contained in:
@@ -69,6 +69,7 @@ func NewRouter(h *Handlers) *chi.Mux {
|
||||
r.Put("/{id}", h.UpdateQueueItem)
|
||||
r.Delete("/{id}", h.DeleteQueueItem)
|
||||
r.Post("/{id}/blocklist", h.BlocklistQueueItem)
|
||||
r.Post("/{id}/import", h.ImportQueueItem)
|
||||
})
|
||||
|
||||
r.Route("/library", func(r chi.Router) {
|
||||
@@ -76,6 +77,8 @@ func NewRouter(h *Handlers) *chi.Mux {
|
||||
r.Get("/albums", h.ListLibraryAlbums)
|
||||
r.Get("/stats", h.LibraryStats)
|
||||
})
|
||||
|
||||
r.Get("/job/{id}", h.GetJobStatus)
|
||||
})
|
||||
|
||||
return r
|
||||
|
||||
Reference in New Issue
Block a user