Skip to content

Put task-segment rows back​

POST
/api/task-segments/restore

The put-back behind "Show N considered" (2026-10-11): clears last_considered_at and segment_deferred_at, so each row waits in its segment again today and comes back daily until it is considered. One undo entry. The caller's own open tasks only; anything else refuses the whole request (400).

Authorizations​

bearerAuth

API token created via POST /api/tokens or the db:create-token CLI command

Type
HTTP (bearer)

Request Body​

application/json
JSON
{
"ids": [
0
]
}

Responses​

Done

application/json
JSON
{
"data": {
"restored": 0
}
}

Samples​

Powered by VitePress OpenAPI