Attachments
Retrieve resized attchment from Comment
get/siteaudit/comments/{commentId}/attachments/{attachmentId}/thumbnail
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
System Object required
Changes
No recorded changes to this operation across all 1 revision of this API.