pve2-api-php-client icon indicating copy to clipboard operation
pve2-api-php-client copied to clipboard

Get UPID as a response (where request launched worker/runner)

Open BenJaziaSadok opened this issue 9 years ago • 1 comments

Hello, I need to update php client to always get a UPID for a valid request. It's valid for POST requests only. PUT returns boolean 1 if it's valid. Is it possible to do this. FYI: i updated the code to return the http error when something is wrong for debugging purpose

BenJaziaSadok avatar Mar 15 '16 13:03 BenJaziaSadok

We likely don't want too much coming back in response, though it would make sense to pass the UPID back.

However at the same time, there are some helper functions added - start/stop/suspend/etc - which wait to finalise.

lsthompson avatar Dec 22 '23 23:12 lsthompson