diff --git a/pkg/api/dashboard.go b/pkg/api/dashboard.go index b4511c916a8..1809c6ca486 100644 --- a/pkg/api/dashboard.go +++ b/pkg/api/dashboard.go @@ -81,6 +81,7 @@ func GetDashboard(c *middleware.Context) { Version: dash.Version, HasAcl: dash.HasAcl, IsFolder: dash.IsFolder, + ParentId: dash.ParentId, }, } diff --git a/pkg/api/dtos/dashboard.go b/pkg/api/dtos/dashboard.go index e0ff44ff016..5fbba1c9844 100644 --- a/pkg/api/dtos/dashboard.go +++ b/pkg/api/dtos/dashboard.go @@ -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 {