Closed DeanKamali closed 2 years ago
I'm using PVE, version 7, they which includes a new API endpoint that deals with downloading ISOs, download_url documented here
download_url
I think this package could use an update to include new mapping.
Following the convention, the API should work like so:
const nodes = await pve.nodes.$get(); // iterate cluster nodes for (const node of nodes) { const theNode = pve.nodes.$(node.node); theNode.storage.$('local').download_url.$post({ url: 'https://download.iso' }) }
Updating the project soon... I'm back on proxmox this week
try the beta version:
npm install proxmox-api@beta
I'm using V7, and it works.
I'm using PVE, version 7, they which includes a new API endpoint that deals with downloading ISOs,
download_url
documented hereI think this package could use an update to include new mapping.
Following the convention, the API should work like so: