diff --git a/folders.go b/folders.go index 2c960800..32d8a119 100644 --- a/folders.go +++ b/folders.go @@ -15,9 +15,10 @@ var ErrFolderNotFound = errors.New("folder not found") // Folder represents a dashboard folder. // See https://grafana.com/docs/grafana/latest/reference/dashboard_folders/ type Folder struct { - ID uint `json:"id"` - UID string `json:"uid"` - Title string `json:"title"` + ID uint `json:"id"` + UID string `json:"uid"` + ParentUID string `json:"parentUid"` + Title string `json:"title"` } // FindOrCreateFolder returns the folder by its name or creates it if it doesn't exist.