Open Context Protocol is live! 🚀 Read the launch post

getAttachmentThumbnail

Get attachment thumbnail

GET /rest/api/3/attachment/thumbnail/{id} HTTP/1.1

Parameters

{
  "id": {
    "description": "The ID of the attachment.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "redirect": {
    "description": "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.",
    "required": false,
    "location": "query",
    "type": "boolean"
  },
  "fallbackToDefault": {
    "description": "Whether a default thumbnail is returned when the requested thumbnail is not found.",
    "required": false,
    "location": "query",
    "type": "boolean"
  },
  "width": {
    "description": "The maximum width to scale the thumbnail to.",
    "required": false,
    "location": "query",
    "type": "integer",
    "format": "int32"
  },
  "height": {
    "description": "The maximum height to scale the thumbnail to.",
    "required": false,
    "location": "query",
    "type": "integer",
    "format": "int32"
  }
}