mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 09:52:12 +08:00
WIP: add parentid to getdashboard query result
This commit is contained in:
@ -81,6 +81,7 @@ func GetDashboard(c *middleware.Context) {
|
||||
Version: dash.Version,
|
||||
HasAcl: dash.HasAcl,
|
||||
IsFolder: dash.IsFolder,
|
||||
ParentId: dash.ParentId,
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,7 @@ type DashboardMeta struct {
|
||||
Version int `json:"version"`
|
||||
HasAcl bool `json:"hasAcl"`
|
||||
IsFolder bool `json:"isFolder"`
|
||||
ParentId int64 `json:"parentId"`
|
||||
}
|
||||
|
||||
type DashboardFullWithMeta struct {
|
||||
|
Reference in New Issue
Block a user