/api/server/thumbnails

Manually trigger the thumbnail generation task.

Info

This endpoint requires authentication.

Info

This endpoint requires administrator privileges or higher.

POST
Request

Manually start (or rerun) the thumbnail generation job on the server. Useful if thumbnails need to be generated for files after initial upload, or after a batch import.

Body

Content-Type: application/json

PropertyTypeDescription
rerunbooleanIf true, reruns the task even if it has already completed before.

Response

Status: 200 OK

Content-Type: application/json

PropertyTypeDescription
statusstringStatus message confirming the task was triggered.

Example

{
"status": "Thumbnails are being generated (rerun). This may take a while, check your logs for progress."
}

Error Responses

  • 404 Not Found

    If the server does not have a "thumbnails" task registered. This means that thumbnail generation is disabled.



Last updated: 6/1/2025
Edit this page on GitHub