Skip to main content

ReadCompletionDto

One completed read-through of a book.

completedAtstring<date-time>required

When this pass finished.

Example: 2024-01-14T20:05:00Z
idstring,null<uuid>nullable

Identifier for this entry, so a single one can be removed without discarding the rest of the book's history.

Null for a series entry. Series history is derived rather than stored: an entry there is one read-through across the series, aggregated from one completion per book, so there is no single row to address. Removing it means removing an entry from each book, which is done from the books themselves.

Example: 550e8400-e29b-41d4-a716-446655440000
startedAtstring<date-time>required

When this pass started.

Example: 2024-01-10T14:30:00Z
ReadCompletionDto
{
"completedAt": "2024-01-14T20:05:00Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"startedAt": "2024-01-10T14:30:00Z"
}