[SOLVED] Add Image with HTTPS API

Hello,

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 (VyOS API — VyOS 1.4.x (sagitta) documentation) 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”: “VyOS Community”}’ https://192.168.100.147/image

2 Likes