/api/server/requery_size
Trigger a server-side re-query to recalculate or clean up file sizes.
Info
This endpoint requires authentication.
Info
This endpoint requires administrator privileges or higher.
POST Request
Recalculate file sizes or delete files with missing data sources (advanced maintenance operation).
Body
Content-Type: application/json
Property | Type | Description |
---|---|---|
forceDelete | boolean? | If true , remove files from the database with missing storage. |
forceUpdate | boolean? | If true , update file size records, even if already set. |
Example
Delete missing files and update sizes:
{"forceDelete": false,"forceUpdate": true}
Response
Status: 200 OK
Content-Type: application/json
Property | Type | Description |
---|---|---|
status | string? | Status message indicating operation result. |
Example
{"status": "Requery complete. 3 files deleted, 42 sizes updated."}
/api/server/clear_zeros
Find and (optionally) delete files with zero-byte size from your stora...
/api/server/settings
Get or update server-wide configuration settings.
Last updated: 6/1/2025
Edit this page on GitHub