E ednt Well-Known Member Mar 16, 2017 107 7 58 Dec 5, 2023 #1 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.
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.
fiona Proxmox Staff Member Staff member Aug 1, 2019 5,590 1,458 248 Dec 5, 2023 #2 Hi, thank you for the report! The API schema declares it to be an integer, so this is a bug. Fix has been sent to the mailing list: https://lists.proxmox.com/pipermail/pve-devel/2023-December/060921.html
Hi, thank you for the report! The API schema declares it to be an integer, so this is a bug. Fix has been sent to the mailing list: https://lists.proxmox.com/pipermail/pve-devel/2023-December/060921.html