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-446655440000fileTypestringrequired
Type of file: "thumbnail" or "cover"
Example:
thumbnailpathstringrequired
Path to the orphaned file (relative to data directory)
Example:
thumbnails/books/55/550e8400-e29b-41d4-a716-446655440000.jpgsizeBytesinteger<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:
5orphanedThumbnailsinteger<int32>required
Number of orphaned thumbnail files (no matching book in database)
Possible values: >= 0
Example:
42totalSizeBytesinteger<int64>required
Total size of all orphaned files in bytes
Possible values: >= 0
Example:
1073741824OrphanStatsDto
{
"files": "Unknown Type: array,null",
"orphanedCovers": 5,
"orphanedThumbnails": 42,
"totalSizeBytes": 1073741824
}