Dashboards API (upload/interact with dashboard through the API)

Hello community,

Is it possible to create a csv file for dashboards though you can’t upload it as data or metadata but instead use the dhis2 api endpoints to upload it.

or even another alternative could be creating a json file for dashboard and interact with the dhis2 api endpoint to upload it to your instance.

Is is possible in dhis2 ? if yes may you provide with necessary resources how it is done

Hi @mugisha_alain

There is a Dashboards endpoint which provides details about the dashboard, but could you please explain further what the use case is?

Thanks!

could you please share the link for that endpoint

1 Like

It is simply /api/dashboards in case you did not find it yet. I also find /api/metadata?dashboards=True very useful to see the full dashboard configurations

1 Like