mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-18 08:08:45 +01:00
Add GetGenre endpoint
This commit is contained in:
parent
ca2c897340
commit
36d93774bc
22 changed files with 302 additions and 25 deletions
|
|
@ -64,6 +64,7 @@ func (api *Router) routes() http.Handler {
|
|||
H(r, "getMusicFolders", c.GetMusicFolders)
|
||||
H(r, "getIndexes", c.GetIndexes)
|
||||
H(r, "getArtists", c.GetArtists)
|
||||
H(r, "getGenres", c.GetGenres)
|
||||
reqParams := r.With(requiredParams("id"))
|
||||
H(reqParams, "getMusicDirectory", c.GetMusicDirectory)
|
||||
H(reqParams, "getArtist", c.GetArtist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue