GET /rest/api/2/attachment/thumbnail/{id}
Returns 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.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The ID of the attachment. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
height |
Integer | No |
The maximum height to scale the thumbnail to. |
width |
Integer | No |
The maximum width to scale the thumbnail to. |
redirect |
Boolean | No |
Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this to Default value: true |
fallbackToDefault |
Boolean | No |
Whether a default thumbnail is returned when the requested thumbnail is not found. Default value: true |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.