[GET] /thumbnail/{fileIndex}
/api/dms/objects/{objectId}/contents/renditions/thumbnail/{fileIndex}?size={size}
Description | To retrieve a preview thumbnail of the first page from the content with the given index attached to the DMS object.
The {fileIndex} is one based. For the first content document insert a 1 and for the following one 2, 3, 4, ... if it is a object type with multiple content files attached. Please remind, the rendition creates by default thumbnails in the size of 96px. If you request another size, the rendition is every time triggered to create it up on your request which need more resources at the rendition service. |
---|---|
Request | GET |
Response | image/png |
Minimum Version | 5.0.0 |
Request | /api/dms/objects/2563/contents/renditions/thumbnail/1 |
Result | A byte sequence of the thumbnail file if the HTTP statuscode is 200. If the HTTP statuscode is 400+ then no payload is present. |