Durable Functions
Request an approval from inside a workflow
Changed onRegisters an approval request for a running durable execution. The Volcano SDK calls this from ctx.waitForApproval; applications do not call it directly.
execution_ref and callback_id are opaque values the SDK reads from the running workflow. Together they are the request's credential, so the operation takes no other authentication. The approval belongs to the project that owns the execution, and expires when the workflow's own approval timeout does.
Retrying is safe: a request for an approval that is already registered returns it with 200.
post/durable-approvals
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/durable-approvals
- Auth: none required
Request body
Response
The approval was already registered
Changes
- ○
endpoint added
- ○