HTTP API documentation +fix when updating a playlist (#12612)

* get id from path param when updating a playlist

* add playlist http api documentation

* remove required condition for the id in update cmd
This commit is contained in:
Augustin
2018-07-17 07:45:38 -07:00
committed by Torkel Ödegaard
parent b526150578
commit 05e060dee0
3 changed files with 288 additions and 1 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ type PlaylistDashboards []*PlaylistDashboard
type UpdatePlaylistCommand struct {
OrgId int64 `json:"-"`
Id int64 `json:"id" binding:"Required"`
Id int64 `json:"id"`
Name string `json:"name" binding:"Required"`
Interval string `json:"interval"`
Items []PlaylistItemDTO `json:"items"`