C chenym Member Oct 25, 2022 50 1 8 May 5, 2023 #1 Hello, I have a question about an API. I would like to know which API interface can return information about the remaining capacity of local lvm ? Last edited: May 5, 2023
Hello, I have a question about an API. I would like to know which API interface can return information about the remaining capacity of local lvm ?
fiona Proxmox Staff Member Staff member Aug 1, 2019 5,634 1,473 248 May 5, 2023 #2 Hi, you can use https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/disks/lvmthin or https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/status (note that this also does return used and total as additional properties) You can just open the browser's developer tools and see what request the site issues or search the api-viewer. Reactions: chenym
Hi, you can use https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/disks/lvmthin or https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/status (note that this also does return used and total as additional properties) You can just open the browser's developer tools and see what request the site issues or search the api-viewer.
C chenym Member Oct 25, 2022 50 1 8 May 8, 2023 #3 fiona said: Hi, you can use https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/disks/lvmthin or https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/status (note that this also does return used and total as additional properties) You can just open the browser's developer tools and see what request the site issues or search the api-viewer. Click to expand... Thank you
fiona said: Hi, you can use https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/disks/lvmthin or https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/status (note that this also does return used and total as additional properties) You can just open the browser's developer tools and see what request the site issues or search the api-viewer. Click to expand... Thank you