BookCoverDto
Book cover data transfer object
bookIdstring<uuid>required
Book ID
Example:
550e8400-e29b-41d4-a716-446655440001createdAtstring<date-time>required
When the cover was created
Example:
2024-01-01T00:00:00Zheightinteger,null<int32>nullable
Image height in pixels (if known)
Example:
450idstring<uuid>required
Cover ID
Example:
550e8400-e29b-41d4-a716-446655440080isSelectedbooleanrequired
Whether this cover is currently selected as the primary cover
Example:
truepathstringrequired
Path to the cover image
Example:
uploads/covers/books/550e8400-e29b-41d4-a716-446655440001/cover.jpgsourcestringrequired
Cover source (e.g., "extracted", "plugin:openlibrary", "custom", "url")
Example:
extractedupdatedAtstring<date-time>required
When the cover was last updated
Example:
2024-01-15T10:30:00Zwidthinteger,null<int32>nullable
Image width in pixels (if known)
Example:
300BookCoverDto
{
"bookId": "550e8400-e29b-41d4-a716-446655440001",
"createdAt": "2024-01-01T00:00:00Z",
"height": 450,
"id": "550e8400-e29b-41d4-a716-446655440080",
"isSelected": true,
"path": "uploads/covers/books/550e8400-e29b-41d4-a716-446655440001/cover.jpg",
"source": "extracted",
"updatedAt": "2024-01-15T10:30:00Z",
"width": 300
}