Get attachment thumbnail
Changed onReturns the thumbnail of an attachment.
To return the attachment contents, use Get attachment content.
This operation can be accessed anonymously.
Permissions required: For the issue containing the attachment:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
- If attachments are added in private comments, the comment-level restriction will be applied.
Request
- Base URLhttps://your-domain.atlassian.net
- URLhttps://your-domain.atlassian.net/rest/api/3/attachment/thumbnail/{id}
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: read:jira-work
- or none
Path parameters
The ID of the attachment.
Query parameters
Whether 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.
Whether a default thumbnail is returned when the requested thumbnail is not found.
The maximum width to scale the thumbnail to.
The maximum height to scale the thumbnail to.
Response
Returned if the request is successful when redirect is set to false.
Changes
- breaking
removed the media type
application/jsonfor the response with the status
- breaking
- breaking
the response's body type changed from
objecttoarrayfor status
- breaking