23.7.8 - Allow new backup API to download latest configuration

Started by SteveK, November 13, 2023, 11:58:32 AM

Previous topic - Next topic
Hey,

I couldn't find any API documentation about the new feature for downloading the latest configuration directly via /api/core/backup/download/this. I tested it successfully with: curl -u "key":"secret" -o backup.xml https://opensense/api/core/backup/download/this

Is there a parameter for getting the configuration encrypted, as it is possible through the WebUI?

Thanks

Hi,

The API is currently limited to the History page and you are referring to the Backup page with the encrypted download.

It's possible to add but there is no immediate plan to do so as we work through converting the remaining static pages bit by bit.


Cheers,
Franco