task
Get one attachment.
Changed onGet one attachment for download. Returns json on error.
get/tasks/{id}/attachments/{attachmentID}
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/tasks/{id}/attachments/{attachmentID}
- AuthAPI key in header Authorization
Path parameters
idinteger required
Task ID
attachmentIDinteger required
Attachment ID
Query parameters
preview_sizestring
The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px. If provided, a preview image is returned instead of the attachment: a JPEG, or a PNG when the image has transparency.
Response
The attachment file, or its preview when preview_size is provided.
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info