Skip to main content

OrphanStatsDto

Statistics about orphaned files in the system

files object[]

List of orphaned files with details

  • Array [
  • entityIdstring,null<uuid>nullable

    The entity UUID extracted from the filename

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

    Type of file: "thumbnail" or "cover"

    Example: thumbnail
    pathstringrequired

    Path to the orphaned file (relative to data directory)

    Example: thumbnails/books/55/550e8400-e29b-41d4-a716-446655440000.jpg
    sizeBytesinteger<int64>required

    Size of the file in bytes

    Possible values: >= 0

    Example: 25600
  • ]
  • orphanedCoversinteger<int32>required

    Number of orphaned cover files (no matching series in database)

    Possible values: >= 0

    Example: 5
    orphanedThumbnailsinteger<int32>required

    Number of orphaned thumbnail files (no matching book in database)

    Possible values: >= 0

    Example: 42
    totalSizeBytesinteger<int64>required

    Total size of all orphaned files in bytes

    Possible values: >= 0

    Example: 1073741824
    OrphanStatsDto
    {
    "files": "Unknown Type: array,null",
    "orphanedCovers": 5,
    "orphanedThumbnails": 42,
    "totalSizeBytes": 1073741824
    }