I tried to use the api function to get the CURRENT config.
there is the optional parameter current existing
so the url is
https://prox:8006/api2/json/nodes/{node}/qemu/{vmid}/config?current=<boolean>
but neither True nor true works. just 0 and 1.
But which is default ? and which is true ?
and why the type is defined as boolean but encoded as integer ?
would not be
.../qemu/{vmid}/config?current=True
also correct ?
there is the optional parameter current existing
so the url is
https://prox:8006/api2/json/nodes/{node}/qemu/{vmid}/config?current=<boolean>
but neither True nor true works. just 0 and 1.
But which is default ? and which is true ?
and why the type is defined as boolean but encoded as integer ?
would not be
.../qemu/{vmid}/config?current=True
also correct ?