Wget a dashboard

How to use the wget command to get the latest revision of a dashboard?

I want to write a script that will automatically get the latest revision of a dashboard and do some changes to it

welcome to the :grafana: forum, @omarkalloush

have you explored using the HTTP API endpoint for dashboards?