[SOLVED] VM storage information from API

PedroPastore

New Member
Feb 28, 2023
23
0
1
I'm trying to get the information of all storage connected to a VM using the proxmox API, with the main thing I'm looking for in the info being the size of the storage.
Does anyone know the request that should be made to get this info ? I tried just using "/api2/json/nodes/node/qemu/vm_id/status/current" but it only returned the disk size of the main storage of the VM and not the other ones. So if anyone knows how to get this info any help would be appreciated.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!