Get a durable approval
Changed onReturns one approval: what the workflow asked, the durable function and execution that asked it, its deadline, and the decision once one is made.
Project access tokens can read approvals, including read-only ones.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Durable approval ID
Response
Successful response
An approval a durable workflow requested.
pending means the workflow is waiting for a decision. approved and denied are decisions a person made. expired means the workflow's approval timeout passed first, and cancelled means the execution ended while the approval was still pending. Every status but pending is final.
The name the workflow gave the approval in ctx.waitForApproval.
The durable function that requested the approval. id is null once the function has been deleted; name is kept.
The durable execution that requested the approval. id and status are null once the execution is no longer retained; name is kept.
When the approval expires if nobody decides. Null when the workflow set no timeout; the approval then lasts as long as its execution.
Who decided and when. Null unless the approval was approved or denied.
Changes
- info
endpoint added
- info