Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 5b41341

Browse files
Add URL for dashboard and folder (#73)
Quick one for grafana/terraform-provider-grafana#160
1 parent 075eeb6 commit 5b41341

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dashboard.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ type DashboardMeta struct {
1212
IsStarred bool `json:"isStarred"`
1313
Slug string `json:"slug"`
1414
Folder int64 `json:"folderId"`
15+
URL string `json:"url"`
1516
}
1617

1718
// DashboardSaveResponse represents the Grafana API response to creating or saving a dashboard.

folder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ type Folder struct {
1111
ID int64 `json:"id"`
1212
UID string `json:"uid"`
1313
Title string `json:"title"`
14+
URL string `json:"url"`
1415
}
1516

1617
// Folders fetches and returns Grafana folders.

0 commit comments

Comments
 (0)