/files/{file_id}/thumbnail.{extension}Get file thumbnail
Retrieves a thumbnail, or smaller image representation, of a file.
Sizes of 32x32,64x64, 128x128, and 256x256 can be returned in
the .png format and sizes of 32x32, 160x160, and 320x320
can be returned in the .jpg format.
Thumbnails can be generated for the image and video file formats listed found on our community site.
A 400 is returned: Returns an error if some of the parameters are missing or not valid.
-
requested_preview_unavailable- an incorrect dimension was requested. This will happen if the dimension requested is larger or smaller than the available file sizes for the thumbnail format, or when when any of the size constraints contradict each other. A 403 is returned: Returned when the access token provided in theAuthorizationheader is not recognized or not provided. A 404 is returned: Returned if the file is not found, or the user does not have access to the file, or for additional reasons. -
preview_cannot_be_generated- Box does not support thumbnails for this type of file. Any other status is an error: An unexpected client error.