Inconsistent API JSON for QEMU / LXC

ednt

Well-Known Member
Mar 16, 2017
107
7
58
Hi,

is there any reason why in

GET /api2/json/nodes/{node}/lxc

vmid is a string

and in

GET /api2/json/nodes/{node}/qemu

it is an integer?

Or is it a bug?

Now I need different structures to convert the JSON.