Hi
i am trying to create snapshot via api in order to sent it schedule every week to me .
I am using curl
curl.exe -X POST -H “Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxx”
-H “ContentType:application/json” -d @test.json http://x.x.x.x:3000/api/snapshots
the json file is
{
“dashboard”: {
“editable”:false,
“hideControls”:true,
“nav”:[
{
“enable”:false,
“type”:“timepicker”
}
],
“rows”: [
{
}
],
"style":"dark",
"tags":[],
"templating":{
"list":[
]
},
"time":{
},
"timezone":"browser",
"title":"main",
"version":23
},
"expires": 3600
}
and get an error [{“fieldNames”:[“Dashboard”],“classification”:“RequiredError”,“message”:“Required”}]
10x
Roy