Hi, I’m creating a webpage where I display all the different panels I have in my dashboards. Now I have all my panels embedded “Hardcoded” I got the URL “http://grafana.staged-by-discourse.com/d-solo/aodKZLBMk/influx?orgId=1&panelId=” And then I have a list with different ID from my Grafana: List[“2”, “4”, …] so, I have a loop where I create a
with all the graphs from my List.
But I would like to create in my webpage a configuration section, so I don’t have in my code the List. And I was wondering if there is an API to call Grafana and ask for all my dashboards and all my panels on my dashboard in order to get the different ID’s.
Beyond that, though, in order to get a list of panels in a given dashboard, you’ll need to parse the actual dashboard definition (from the dashboard API: Dashboard HTTP API | Grafana Labs)