NodeJs Module to interract with Proxmox VE API
  • JavaScript 100%
Find a file
2017-04-04 03:18:51 +01:00
.gitignore Initial commit 2014-03-15 05:32:18 -07:00
LICENSE Initial commit 2014-03-15 05:32:18 -07:00
node-proxmox.js Fix body sending, packages 2017-01-26 13:46:15 +00:00
package.json Fix body sending, packages 2017-01-26 13:46:15 +00:00
README.md Fix link in README.md (#1) 2017-04-04 03:18:51 +01:00

node-proxmox

NodeJs Module to interract with Proxmox VE API. Full async.

This project was previously abandoned by @maloddon. We've picked it up at Privex Inc. for use within our own projects.

Our most recent changes included replacing the raw HTTP with the well known Node request library, which helped us resolve issues with certain Proxmox endpoints.

Usage

npm install --save proxmox-node
var px = require('proxmox-node')('hostname', 'username', 'authtype', 'password');

px.get('/nodes/', callback(data));
px.post('/nodes/{node}/storage/{storage}/content/{volume}', body, callback(data));
px.put('/nodes/{node}/dns', body, callback(data));
px.del('/nodes/{node}/storage/{storage}/content/{volume}', callback(data));

Resources

Proxmox API documentation : http://pve.proxmox.com/pve-docs/api-viewer/index.html