[SOLVED] Add Image with HTTPS API


Is it possible to add image, and set the default booting image by the HTTPS API? I have tried but with no luck so far and the docs (https://docs.vyos.io/en/latest/image-mgmt.html) and (https://docs.vyos.io/en/latest/appendix/http-api.html) aren’t super helpful with this

Yes, adding/deleting images is available; I will add the missing documentation. An example of add, for today’s rolling:

curl -k -X POST -Fkey=qwerty -Fdata=’{“op”: “add”, “url”: “https://downloads.vyos.io/rolling/current/amd64/vyos-1.3-rolling-202006070117-amd64.iso”}’