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
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to