[v1] Timer

Manage timer

Deprecated. Support ends on November 1, 2026. Use GET /v3/timer/status, POST /v3/timer/start, POST /v3/timer/stop, or DELETE /v3/timer for the corresponding action.

post/timer

Request body

action'status' | 'start' | 'stop' | 'cancel' required

either status, start, stop or cancel

task_idinteger

start a task with a given task

started_atstring

timer will count time since this date only when action = start

stopped_atstring

timer will count time to this date only when action = stop

Example request

{
  "started_at": "2021-03-05 08:54:12",
  "stopped_at": "2021-03-05 09:54:12"
}

Response

OK

isTimerRunningboolean
elapsednumber
start_timestring

Changes