Resume a workflow
Changed onTransition from disabled to enabled. Idempotent. When session_policy_deploy_check is on, enabling a workflow whose fund-moving steps the runner's usable grant does not cover is 409 SESSION_POLICY_NOT_COVERING. A fund-moving workflow whose grant has already expired is 409 SESSION_POLICY_EXPIRED, including when the workflow has no end date. A fund-moving step whose target cannot be read stays 409 SESSION_POLICY_TARGET_UNRESOLVED even when that grant has expired. A grant made for a session signer the gateway no longer uses is 409 SESSION_POLICY_SIGNER_RETIRED. Disabling is not checked. Notification-only workflows pass with no grant.
Request
- Base URLhttps://api.avaprotocol.org/api/v1
- AuthHTTP bearer
Response
Workflow resumed.
Example response
{
"id": "01JG2FE5MDVKBPHEG0PEYSDKAC",
"owner": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"smartWalletAddress": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"trigger": {
"config": {
"chainId": 11155111
}
},
"nodes": [
{
"config": {
"destination": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"chainId": 11155111
}
}
]
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info