Skip to main content

BooksWithErrorsResponse

Response for listing books with errors

errorCounts objectrequired

Count of books by error type

property name*integer<int64>
groups object[]required

Error groups with books

  • Array [
  • books object[]required

    Books with this error type (paginated)

  • Array [
  • book objectrequired

    Book data transfer object

    analysisErrorstring | nullnullable

    Error message if book analysis failed

    Example: Failed to parse CBZ: invalid archive
    analyzedbooleanrequired

    Whether the book has been analyzed (page dimensions available)

    Example: true
    createdAtstring<date-time>required

    When the book was added to the library

    Example: 2024-01-01T00:00:00Z
    deletedbooleanrequired

    Whether the book has been soft-deleted

    Example: false
    fileFormatstringrequired

    File format (cbz, cbr, epub, pdf)

    Example: cbz
    fileHashstringrequired

    File hash for deduplication

    Example: a1b2c3d4e5f6g7h8i9j0
    filePathstringrequired

    Filesystem path to the book file

    Example: /media/comics/Batman/Batman - Year One 001.cbz
    fileSizeinteger<int64>required

    File size in bytes

    Example: 52428800
    idstring<uuid>required

    Book unique identifier

    Example: 550e8400-e29b-41d4-a716-446655440001
    libraryIdstring<uuid>required

    Library this book belongs to

    Example: 550e8400-e29b-41d4-a716-446655440000
    libraryNamestringrequired

    Name of the library

    Example: Comics
    numberinteger,null<int32>nullable

    Book number within the series

    Example: 1
    pageCountinteger<int32>required

    Number of pages in the book

    Example: 32
    readProgress object
    oneOf
    null
    readingDirectionstring | nullnullable

    Effective reading direction (from series metadata, or library default if not set) Values: ltr, rtl, ttb or webtoon

    Example: ltr
    seriesIdstring<uuid>required

    Series this book belongs to

    Example: 550e8400-e29b-41d4-a716-446655440002
    seriesNamestringrequired

    Name of the series

    Example: Batman: Year One
    titlestringrequired

    Book title

    Example: Batman: Year One #1
    titleSortstring | nullnullable

    Title used for sorting (title_sort field)

    Example: batman year one 001
    updatedAtstring<date-time>required

    When the book was last updated

    Example: 2024-01-15T10:30:00Z
    errors object[]required

    All errors for this book

  • Array [
  • details

    Additional error details (optional)

    errorTypeBookErrorTypeDto (string)required

    Book error type

    Possible values: [format_detection, parser, metadata, thumbnail, page_extraction, pdf_rendering, zero_pages, other]

    messagestringrequired

    Human-readable error message

    Example: Failed to parse CBZ: invalid archive
    occurredAtstring<date-time>required

    When the error occurred

    Example: 2024-01-15T10:30:00Z
  • ]
  • ]
  • countinteger<int64>required

    Number of books with this error type

    Possible values: >= 0

    Example: 5
    errorTypeBookErrorTypeDto (string)required

    Book error type

    Possible values: [format_detection, parser, metadata, thumbnail, page_extraction, pdf_rendering, zero_pages, other]

    labelstringrequired

    Human-readable label for this error type

    Example: Parser Error
  • ]
  • pageinteger<int64>required

    Current page (0-indexed)

    Possible values: >= 0

    Example: 0
    pageSizeinteger<int64>required

    Page size

    Possible values: >= 0

    Example: 20
    totalBooksWithErrorsinteger<int64>required

    Total number of books with errors

    Possible values: >= 0

    Example: 15
    totalPagesinteger<int64>required

    Total number of pages

    Possible values: >= 0

    Example: 1
    BooksWithErrorsResponse
    {
    "errorCounts": {
    "parser": 5,
    "thumbnail": 10
    },
    "groups": [
    {
    "books": [
    {
    "book": {
    "analysisError": "Failed to parse CBZ: invalid archive",
    "analyzed": true,
    "createdAt": "2024-01-01T00:00:00Z",
    "deleted": false,
    "fileFormat": "cbz",
    "fileHash": "a1b2c3d4e5f6g7h8i9j0",
    "filePath": "/media/comics/Batman/Batman - Year One 001.cbz",
    "fileSize": 52428800,
    "id": "550e8400-e29b-41d4-a716-446655440001",
    "libraryId": "550e8400-e29b-41d4-a716-446655440000",
    "libraryName": "Comics",
    "number": 1,
    "pageCount": 32,
    "readProgress": "null",
    "readingDirection": "ltr",
    "seriesId": "550e8400-e29b-41d4-a716-446655440002",
    "seriesName": "Batman: Year One",
    "title": "Batman: Year One #1",
    "titleSort": "batman year one 001",
    "updatedAt": "2024-01-15T10:30:00Z"
    },
    "errors": [
    {
    "errorType": "format_detection",
    "message": "Failed to parse CBZ: invalid archive",
    "occurredAt": "2024-01-15T10:30:00Z"
    }
    ]
    }
    ],
    "count": 5,
    "errorType": "format_detection",
    "label": "Parser Error"
    }
    ],
    "page": 0,
    "pageSize": 20,
    "totalBooksWithErrors": 15,
    "totalPages": 1
    }