Func call
Call a function (by default the call is asynchronous, add the /sync
parameter for synchronous call).
The endpoint should be $region.hyperfunc.io
, and no signature authentication requirements.
Example call:
Example response:
URL parameters:
$region - Supported region.
$name - The function name.
$uuid - The uuid of func.
/sync - Block until the function call has completed.
Json parameters:
CallId - The call id of a function call.
Status Codes:
200 - no error
404 - no such function
413 - request entity too large
500 - server error
If the
/sync
parameter is used: same status codes as with the get endpoint.
Notes
The finished/failed function call will be removed once the api with
/sync
parameter is successfully called.
Last updated