Automate dashboard creation via REST API

Hello guys, 

 

Do anyone come cross api that would help to create new dashboard with widgets from existing dashboard or clone a exiting dashboard with its widgets? 

We are creating dashboad per release and we create dashboard then clone the widgets to the new dashboard, it is many manual steps and it is a pain. 

 

Any ideas? 

 

Thanks 

1 comment
Comment actions Permalink
Official comment

Hello Fayez,

here you can find the API for dashboards: https://www.jetbrains.com/help/hub/HUB-REST-API_Dashboards.html

The widgets are located in the `data` field: https://www.jetbrains.com/help/hub/HUB-REST-API_Dashboards_Create-New-Dashboard.html

Unfortunately, the part of the API concerning widgets is not documented yet, so I can suggest making some requests with the developer tools of your browser open and then imitate the same requests in your code.

Let us know if you need assistance, we'll be happy to help.

Please sign in to leave a comment.