API Docs / Schemas / TimerBlockDto

TimerBlockDto

One block of work on a timer or time entry — either a wall-clock span (start
and end time) or a plain number of minutes. When Minutes is set it is the
block's duration and any times are just context. A block with a start but no
end and no minutes is still running; no open block means the timer is paused.

Properties

Name Type Description
startedAtstring

When this block of work started (UTC), for wall-clock blocks

When this block of work started (UTC), for wall-clock blocks

endedAtstring

When this block of work ended (UTC), or null while it is still running

When this block of work ended (UTC), or null while it is still running

minutesinteger

The block's duration in minutes, for blocks recorded as an amount of time
rather than a wall-clock span

The block's duration in minutes, for blocks recorded as an amount of time
rather than a wall-clock span

JSON Example

{
  "startedAt": "2024-01-01T00:00:00Z",
  "endedAt": "2024-01-01T00:00:00Z",
  "minutes": 0
}

Contained in Schemas