Implement updateShare and deleteShare Subsonic endpoints
This commit is contained in:
@@ -129,6 +129,8 @@ func (api *Router) routes() http.Handler {
|
||||
r.Group(func(r chi.Router) {
|
||||
h(r, "getShares", api.GetShares)
|
||||
h(r, "createShare", api.CreateShare)
|
||||
h(r, "updateShare", api.UpdateShare)
|
||||
h(r, "deleteShare", api.DeleteShare)
|
||||
})
|
||||
r.Group(func(r chi.Router) {
|
||||
r.Use(getPlayer(api.players))
|
||||
@@ -170,7 +172,6 @@ func (api *Router) routes() http.Handler {
|
||||
|
||||
// Not Implemented (yet?)
|
||||
h501(r, "jukeboxControl")
|
||||
h501(r, "updateShare", "deleteShare")
|
||||
h501(r, "getPodcasts", "getNewestPodcasts", "refreshPodcasts", "createPodcastChannel", "deletePodcastChannel",
|
||||
"deletePodcastEpisode", "downloadPodcastEpisode")
|
||||
h501(r, "createUser", "updateUser", "deleteUser", "changePassword")
|
||||
|
||||
Reference in New Issue
Block a user