[pve-devel] pve2-api question
Michael Rasmussen
mir at datanom.net
Sun Jul 15 22:16:21 CEST 2012
Hi all,
I am currently working on an extension for the Proxmox Android client
which enables the user to do migration from within the Android client.
For displaying progress and status I use this API function:
GET /api2/json/nodes/{node}/tasks/{upid}/status.
I enclose this call inside a while loop which terminates whenever
status sends back a 'TASK OK'. This works very well but what if the job
fails? Will it then always send back a 'TASK ERROR'?
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20120715/577c0cfd/attachment.sig>
More information about the pve-devel
mailing list