I'm building a Powershell script to export import dashboards in order to promote them from Dev to Test to Prod env's, using REST API.
As far as I understand there are 2 ways:
1. Export - Import
I've successfully exported dashboards, but whenever I try to import, I get HTTP 500 error and application logs on the server say nothing of the reason. My process is:
1. Use export endpoint and get a JSON.
2. Change title to something else
3. Call import endpoint, providing that JSON as body and importFolder=<oid> as query
Would appreciate your advice of what I'm doing wrong here.
As for second option "Copy", it says body = copy request object, but there is no documentation, as far as I could see, on how to construct it.
Could you please point me to the location of such?
Please sign in to leave a comment.