[pve-devel] How to get the system name and version via api

Dietmar Maurer dietmar at proxmox.com
Tue Dec 20 07:14:16 CET 2011


> There is no mention in the api document, but can anyone tell me how to get the
> system name (Proxmox Virtual Environment or PVE?) and the version
> (2.0/xxxxxx?) via an api access?
> 
> If no method, is such an api most likely to be added?

The 'api2/json/nodes/{node}/status' call returns a property called 'pveversion'.

But I just added and API to get that info at 'api2/json/version'.

See: https://git.proxmox.com/?p=pve-manager.git;a=commit;h=af05769e855f141e832bb349671ae08186502a37

Hopefully that is what you need?

- Dietmar






More information about the pve-devel mailing list