[PVE-User] REST api usage

Timh B timh at shiwebs.net
Wed Mar 27 15:22:34 CET 2013

I would suggest you look into the pyproxmox package;


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

More information about the pve-user mailing list