Create thumbnails

POST /api/2.0/files/thumbnails

Request

Creates thumbnails for the files with the IDs specified in the request.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Content-Typeenum of string

Can be one of: application/json, application/*+json, text/json.

Body

folderIdsarray of any of
.integer
.string
fileIdsarray of any of
.integer
.string

Examples

POST /api/2.0/files/thumbnails HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: example.com
curl --request POST \
  --url https://example.com/api/2.0/files/thumbnails \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json'

Responses

200

List of file IDs

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).