post
https://api.qfp.quantnetwork.net/api/approvals/tasks//approve
Runs under a row lock on the owning request, so a request resolves
exactly once.
Checks, in order:
- The task's
approverIdscontain the caller'ssub(403); a task
with noapproverIdsnever matches. - The caller is not the request's
initiatedBy(403, four-eyes). - The task is
PENDING(409). - No task at a lower
stepis stillPENDING(409).
The task becomes APPROVED with actedBy the caller's sub; when
every task is, the request does too and the resolution is published
to policy.decided.
Recipes
Read approval tasks and submit a decision
Open Recipe

