support for version 7
Closed this issue · 3 comments
DeanKamali commented
I'm using PVE, version 7, they which includes a new API endpoint that deals with downloading ISOs, download_url
documented here
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'
})
}
UrielCh commented
Updating the project soon...
I'm back on proxmox this week
UrielCh commented
try the beta version:
npm install proxmox-api@beta
UrielCh commented
I'm using V7, and it works.