mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
committed by
Torkel Ödegaard
parent
b526150578
commit
05e060dee0
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user