Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 615 Bytes

SNAPSHOT.md

File metadata and controls

46 lines (41 loc) · 615 Bytes

Snapshot Methods


Create a snapshot for a given dahsboard:
g.create_snapshot({
  "dashboard": {
    "editable":false,
    "hideControls":true,
    "nav":[
    {
      "enable":false,
    "type":"timepicker"
    }
    ],
    "rows": [
      {

      }
    ],
    "style":"dark",
    "tags":[],
    "templating":{
      "list":[
      ]
    },
    "time":{
    },
    "timezone":"browser",
    "title":"Home",
    "version":5
    },
  "expires": 3600
})
Get snapshot:
g.get_snapshot('snapshot-key')
Delete snapshot:
g.delete_snapshot('snapshot-key')