Backups look like the JSON you get if you navigate the GUI and choose 'view JSON' which is missing things that could make the restore process more reliable such as the dashboard: {} element.
Supporting both would of course be ideal.
I.E. a dashboard from the API would look like:
{
"meta": {
"isStarred": false,
"slug": "production-overview"
},
"dashboard": {
"id": 25,
"title": "Production Overview",
"tags": [ "templated" ],
"timezone": "browser",
"rows": [
Backups look like the JSON you get if you navigate the GUI and choose 'view JSON' which is missing things that could make the restore process more reliable such as the dashboard: {} element.
Supporting both would of course be ideal.
I.E. a dashboard from the API would look like: { "meta": { "isStarred": false, "slug": "production-overview" }, "dashboard": { "id": 25, "title": "Production Overview", "tags": [ "templated" ], "timezone": "browser", "rows": [