Hi,
I want to programatically export/import a dashboard from one space to another including all its related saved objects. The steps I am thinking about are:
- Create Space let's call it "Space-X"
- Get id of the dashboard I want to import ( can be done manually in Kibana)
- Get list of ids for all related saved objects (index-patterns, visualizations and saved searches)
- Import everything at once
How can I get list of ids for all related saved objects programatically using Kibana REST API?