mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-26 10:17:09 +01:00
feat(album): add cover upload/delete API endpoints
This commit is contained in:
parent
37c837425c
commit
940dbe4c0a
3 changed files with 118 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ func (api *Router) routes() http.Handler {
|
|||
r.Use(server.UpdateLastAccessMiddleware(api.ds))
|
||||
api.RX(r, "/user", api.users.NewRepository, true)
|
||||
api.R(r, "/song", model.MediaFile{}, false)
|
||||
api.R(r, "/album", model.Album{}, false)
|
||||
api.addAlbumRoute(r)
|
||||
api.addArtistRoute(r)
|
||||
api.R(r, "/genre", model.Genre{}, false)
|
||||
api.R(r, "/player", model.Player{}, true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue