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:
If issue-level security is configured, issue-level security permission to view the issue.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'http:///rest/api/3/attachment/thumbnail/'
响应示例响应示例
200 - 示例 1
{}
请求参数
Path 参数
Query 参数
返回响应
🟢200Returned if the request is successful when `redirect` is set to `false`.
application/json
Body
🔵303Returned if the request is successful. See the `Location` header for the download URL.
🟠400Returned if the request is invalid.
🟠401Returned if the authentication credentials are incorrect.
🟠403The user does not have the necessary permission.
🟠404Returned if:
* the attachment is not found.
* attachments are disabled in the Jira settings.
* `fallbackToDefault` is `false` and the request thumbnail cannot be downloaded.