/api/server/clear_zeros
Find and (optionally) delete files with zero-byte size from your storage/database.
Info
This endpoint requires authentication.
Info
This endpoint requires administrator privileges or higher.
GET Request
Scan for zero-byte files currently in the database/storage.
Response
Status: 200 OK
Content-Type: application/json
Property | Type | Description |
---|---|---|
files | array | An array of zero-byte file objects or IDs found. |
DELETE Request
Delete all files identified as zero-byte from both storage and the database.
Response
Status: 200 OK
Content-Type: application/json
Property | Type | Description |
---|---|---|
status | string | Status message about the operation. |
Example
{"status": "Successfully deleted 2 zero-byte files."}
/api/server/clear_temp
Delete temporary files in your temp directory (useful for cleaning up...
/api/server/requery_size
Trigger a server-side re-query to recalculate or clean up file sizes.
Last updated: 6/1/2025
Edit this page on GitHub