Skip to main content

OrphanStatsDto

Statistics about orphaned files in the system

files object[]

List of orphaned files with details

  • Array [
  • entity_idstring,null<uuid>nullable

    The entity UUID extracted from the filename

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

    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
    size_bytesinteger<int64>required

    Size of the file in bytes

    Possible values: >= 0

    Example: 25600
  • ]
  • orphaned_coversinteger<int32>required

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

    Possible values: >= 0

    Example: 5
    orphaned_thumbnailsinteger<int32>required

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

    Possible values: >= 0

    Example: 42
    total_size_bytesinteger<int64>required

    Total size of all orphaned files in bytes

    Possible values: >= 0

    Example: 1073741824
    OrphanStatsDto
    {
    "files": "Unknown Type: array,null",
    "orphaned_covers": 5,
    "orphaned_thumbnails": 42,
    "total_size_bytes": 1073741824
    }