Hello,
can someone help me to create a playlist using grafana API?
I tried this but it wont work.
curl --insecure -X PUT -H "Content-type: application/json" -d '{
"name": "my playlist",
"interval": "5m",
"items": [
{
"type": "test-1",
"value": "3",
"order": 1,
"title":"my third dasboard"
},
{
"type": "test-2",
"value": "myTag",
"order": 2,
"title":"my other dasboard"
}
]
}' 'http://admin:admin@localhost:8001/api/playlists/1'
->{"message":"Playlist not found"}
I looked at the docs and couldn’t find what I´m doing wrong
Thanks for help