I have a bunch of data that I’d like to use perl (I’m old - get off my lawn) to build dashboards for. the JSON seems pretty straight forward except for the “id” variable. It looks like each dashboard has an id, and each graph in a dashboard has sequential id.
If I export a dashboard, I can see an id number for the dashboard, and ids for the graphs. I assume when a dashboard is imported, the dashboard id in the JSON is ignored, and a new one generated.
This assumption is incorrect. You need to remove the id before importing otherwise it will try to overwrite an existing dashboard with that id. The panel ids are sequential as you noted and should not be removed.