List of image IDs to delete from the database.
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if user does not have admin role.
Delete orphaned files from S3.
Removes one or more files from S3 storage that have no corresponding database record.
Use this to clean up orphaned files found via the OrphansInS3 diff mode.
List of S3 file names (keys) to delete.
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if user does not have admin role.
Get storage diff between S3 and database.
Returns a paginated list of discrepancies between S3 storage and the database.
Modes:
OrphansInS3: Files that exist in S3 but have no matching database record.MissingFromS3: Database records whose files are missing from S3.OptionalpageOptions: PageOptionsAuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if user does not have admin role.
Delete database records for images missing from S3.
Removes one or more image records from the database whose files no longer exist in S3. Use this to clean up orphaned database entries found via the
MissingFromS3diff mode. No S3 deletion is performed since the files are already absent.