star/unstar implemented

This commit is contained in:
Deluan
2016-03-23 17:46:54 -04:00
parent b25cfd96eb
commit c50b0bdc48
6 changed files with 98 additions and 4 deletions
+2
View File
@@ -31,6 +31,8 @@ func mapEndpoints() {
beego.NSRouter("/download.view", &api.StreamController{}, "*:Download"),
beego.NSRouter("/scrobble.view", &api.MediaAnnotationController{}, "*:Scrobble"),
beego.NSRouter("/star.view", &api.MediaAnnotationController{}, "*:Star"),
beego.NSRouter("/unstar.view", &api.MediaAnnotationController{}, "*:Unstar"),
beego.NSRouter("/getAlbumList.view", &api.AlbumListController{}, "*:GetAlbumList"),
beego.NSRouter("/getStarred.view", &api.AlbumListController{}, "*:GetStarred"),