UrielCh/proxmox-api

support for version 7

Closed this issue · 3 comments

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'
      })
    }

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.