/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/public
This endpoint is used to fetch "public" configuration options. This ma...
/api/server/themes
Get a list of themes that are available on the instance. You don't nee...
Last updated: Jun 12, 2025
Edit this page on GitHub