Act on a review session
POST
/api/review/execute
Applies actions to tasks by their seq numbers from GET /api/review.
Actions run in order, each as its own bulk operation (and undo entry);
they are not one transaction. The whole body is validated first, so a
snooze without until is a 400 before any action runs. Review
targets are explicit picks: snooze moves High and Urgent targets too,
where a sweep would hold them back. The session is discarded afterwards.
Authorizations
bearerAuth
API token created via POST /api/tokens or the db:create-token CLI command
Type
HTTP (bearer)
Request Body
application/json
JSON
{
"session_id": "string",
"actions": [
{
"type": "string",
"targets": [
[
"1",
"3-5"
]
],
"until": "string"
}
]
}
Responses
What each action did
application/json
JSON
{
"data": {
"executed": true,
"results": [
{
"type": "string",
"taskIds": [
0
],
"count": 0
}
],
"total_affected": 0
}
}
POST
/api/review/execute
