GET /comments/{id}/thumbnail
Retrieves a PNG thumbnail of the attachment stored with a comment, if it exists.
Image attachments yield smaller versions, PDF attachments yield a small version
of the first page, other known file types such as Microsoft Word and Excel
yield simple generic images of the file types and everything else yields
a generic image with a question mark.
Roles that can access this endpoint are Users, Drivers, Carriers, Carrier Drivers.
Parameters
name |
description |
type |
default |
type |
id |
the comment ID, included in the path |
path
|
|
String
|
size |
the size of the largest dimension; for example, if you have a 200x100
pixel image and you passed in 50 for this parameter, the thumbnail would be 50x25 |
query
|
|
int
|
Result
Response
of type:
image/png
a response object with a PNG thumbnail body
Try It Out
Request