I would suggest you look into the pyproxmox package; https://github.com/Daemonthread/pyproxmox
//T On Wed, March 27, 2013 14:25, Jonathan Schaeffer wrote: > Hi, > > I'd like to use the REST API to migrate a node (for instance). > > Following the doc on the wiki > (http://pve.proxmox.com/wiki/Proxmox_VE_API), I managed to get the > ticket and the CSR prevention token and run some basic commands with it. > > But I don't know how to specify the [OPTIONS] fields on my REST URL, > like required on a migrate command : > create /nodes/{node}/qemu/{vmid}/migrate -target <string> [OPTIONS] > > I'm using python's requests module to do that, but an example with curl > would be very helpful too. > > By the way the URL given in the wiki > http://pve.proxmox.com/pve2-api-doc/ is blank. > > Thanks, > > jonathan > -- Timh _______________________________________________ pve-user mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
