sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Dashboard search results should include what folder they belong to.

Open bg451 opened this issue 5 years ago • 3 comments
trafficstars

When searching for dashboards, the current API will include information about the dashboard if it belongs to one that is not the "default" folder. This is what the JSON looks like.

{
"id":1,
"uid":"<redacted>",
"title":"Jobs Dashboard",
"uri":"<redacted>",
"url":"/dashboards/d/<redacted>/jobs-dashboard",
"slug":"",
"type":"dash-db",
"tags":[],
"isStarred":false,
"folderId":34,
"folderUid":"<redacted>",
"folderTitle":"Test Folder",
"folderUrl":"/dashboards/dashboards/f/<redacted>/test-folder"
}

The FoundDashboard interface should probably include that information.

bg451 avatar Jul 31 '20 19:07 bg451

So why not continue with https://github.com/grafana-tools/sdk/pull/101 ? :)

GiedriusS avatar Aug 02 '20 20:08 GiedriusS

Just wanted to make sure y'all were okay with the work before creating a PR with no context, I'll go ahead and reopen it!

bg451 avatar Aug 03 '20 15:08 bg451

This is fixed I think? Since #101 is now closed.

safaci2000 avatar Apr 10 '21 01:04 safaci2000