Add playlists REST endpoint

This commit is contained in:
Deluan
2020-05-03 20:05:03 -04:00
committed by Deluan Quintão
parent 8e2480a82d
commit 4e613be960
4 changed files with 30 additions and 3 deletions
+1
View File
@@ -47,6 +47,7 @@ func (app *Router) routes(path string) http.Handler {
app.R(r, "/album", model.Album{}, true)
app.R(r, "/artist", model.Artist{}, true)
app.R(r, "/player", model.Player{}, true)
app.R(r, "/playlist", model.Playlist{}, true)
app.R(r, "/transcoding", model.Transcoding{}, conf.Server.EnableTranscodingConfig)
app.addResource(r, "/translation", newTranslationRepository, false)