Attachments

Retrieve resized attchment from Comment

get/siteaudit/comments/{commentId}/attachments/{attachmentId}/thumbnail

Request

Path parameters

commentIdinteger required

Numeric Id of the Comment which Attachment belongs to.

attachmentIdinteger required

Numeric Id of the Attachment to perform action with.

Query parameters

widthinteger

Width of the output file.

heightinteger

Height of the output file.

mode'None' | 'Max' | 'Pad' | 'Crop' | 'Carve' | 'Stretch'

How to resolve aspect ratio differences between the requested size and the original image's size: Max = 1, Pad = 2, Crop = 3, Carve = 4, Stretch = 5.

imageFormatstring

The desired image format, like 'jpg', 'gif', or 'png'. Do not specify if you want to preserve the original format.

Response

OK

SystemObject required

Changes

No recorded changes to this operation across all 1 revision of this API.