IssueAttachment
Represents a file that is attached to an issue or a comment.
Related Resources
Below you can find the list of resources that let you work with this entity.
Attributes
This table describes attributes of the IssueAttachment
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the attachment. |
name | String | The name of the file. |
author | User | The user who attached the file to the issue. |
created | Long | The timestamp in milliseconds indicating the moment when the attachment was created. Stored as a unix timestamp at UTC. |
updated | Long | The timestamp in milliseconds indicating the last update of the attachment. Stored as a unix timestamp at UTC. |
size | Long | The size of the attached file in bytes. |
extension | String | The extension that defines the file type. |
charset | String | Charset of the file. |
mimeType | String | Mime type of the file. |
metaData | String | The dimensions of an image file. For an image file, the value is |
draft | Boolean | If true, attachment is not yet published, otherwise false. |
removed | Boolean | If true, then attachment is considered to be removed. |
base64Content | String | The Data URI that represents the attachment with the following syntax:
data:[<media type>][;base64],<data>
For example:
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="
Can be null . |
url | String | URL of the file. |
visibility | Visibility | Access setting of the attachment. |
issue | Issue | The issue that the file is attached to. |
comment | IssueComment | The comment that the file is attached to. Returns |
thumbnailURL | String | URL of the attachment thumbnail. |