The ID of the attachment.
Optionalredirect?: booleanWhether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can
set this to false to avoid making multiple requests to download the attachment.
Optionaloptions: RequestOptions
Returns the contents of an attachment. A
Rangeheader can be set to define a range of bytes within the attachment to download. See the HTTP Range header standard for details.To return a thumbnail of the attachment, use Get attachment thumbnail.
This operation can be accessed anonymously.
Permissions required: For the issue containing the attachment: