Skip to main content

BookCoverListResponse

Response containing a list of book covers

covers object[]required

List of covers for the book

  • Array [
  • bookIdstring<uuid>required

    Book ID

    Example: 550e8400-e29b-41d4-a716-446655440001
    createdAtstring<date-time>required

    When the cover was created

    Example: 2024-01-01T00:00:00Z
    heightinteger,null<int32>nullable

    Image height in pixels (if known)

    Example: 450
    idstring<uuid>required

    Cover ID

    Example: 550e8400-e29b-41d4-a716-446655440080
    isSelectedbooleanrequired

    Whether this cover is currently selected as the primary cover

    Example: true
    pathstringrequired

    Path to the cover image

    Example: uploads/covers/books/550e8400-e29b-41d4-a716-446655440001/cover.jpg
    sourcestringrequired

    Cover source (e.g., "extracted", "plugin:openlibrary", "custom", "url")

    Example: extracted
    updatedAtstring<date-time>required

    When the cover was last updated

    Example: 2024-01-15T10:30:00Z
    widthinteger,null<int32>nullable

    Image width in pixels (if known)

    Example: 300
  • ]
  • BookCoverListResponse
    {
    "covers": [
    {
    "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
    }
    ]
    }