OrphanedFileDto
Information about a single orphaned file
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:
25600OrphanedFileDto
{
"entity_id": "550e8400-e29b-41d4-a716-446655440000",
"file_type": "thumbnail",
"path": "thumbnails/books/55/550e8400-e29b-41d4-a716-446655440000.jpg",
"size_bytes": 25600
}