v4

OpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
Issue attachments

Get attachment metadata

Returns the metadata for an attachment. Note that the attachment itself is not returned.

This operation can be accessed anonymously.

Permissions required:

  • 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.
get/rest/api/3/attachment/{id}

Path parameters

idstring required

The ID of the attachment.

Response

Returned if the request is successful.

contentstring

The URL of the attachment.

createdstring date-time

The datetime the attachment was created.

filenamestring

The name of the attachment file.

idinteger

The ID of the attachment.

mimeTypestring

The MIME type of the attachment.

propertiesobject

Additional properties of the attachment.

selfstring uri

The URL of the attachment metadata details.

sizeinteger

The size of the attachment.

thumbnailstring

The URL of a thumbnail representing the attachment.