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 |
|---|---|---|
| startedAt | string | When this block of work started (UTC), for wall-clock blocks |
When this block of work started (UTC), for wall-clock blocks | ||
| endedAt | string | 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 | ||
| minutes | integer | The block's duration in minutes, for blocks recorded as an amount of time |
The block's duration in minutes, for blocks recorded as an amount of time | ||
JSON Example
{
"startedAt": "2024-01-01T00:00:00Z",
"endedAt": "2024-01-01T00:00:00Z",
"minutes": 0
}