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-446655440000file_typestringrequired
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.jpgsize_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:
5orphaned_thumbnailsinteger<int32>required
Number of orphaned thumbnail files (no matching book in database)
Possible values: >= 0
Example:
42total_size_bytesinteger<int64>required
Total size of all orphaned files in bytes
Possible values: >= 0
Example:
1073741824OrphanStatsDto
{
"files": "Unknown Type: array,null",
"orphaned_covers": 5,
"orphaned_thumbnails": 42,
"total_size_bytes": 1073741824
}