[PVE-User] REST api usage

Jonathan Schaeffer jonathan.schaeffer at univ-brest.fr
Wed Mar 27 14:25:45 CET 2013


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

-- 
IUEM - Service Informatique
rue Dumont D'Urville
Technopôle Brest-Iroise
29280 Plouzané
France
tel: +33 2 98 49 87 94



More information about the pve-user mailing list