Metadata for an issue attachment.

interface AttachmentMetadata {
    author?: User;
    content?: string;
    created?: string;
    filename?: string;
    id?: number;
    mimeType?: string;
    properties?: {
        [key: string]: unknown;
    };
    self?: string;
    size?: number;
    thumbnail?: string;
}

Properties

author?: User

Details of the user who attached the file.

content?: string

The URL of the attachment.

created?: string

The datetime the attachment was created.

filename?: string

The name of the attachment file.

id?: number

The ID of the attachment.

mimeType?: string

The MIME type of the attachment.

properties?: {
    [key: string]: unknown;
}

Additional properties of the attachment.

self?: string

The URL of the attachment metadata details.

size?: number

The size of the attachment.

thumbnail?: string

The URL of a thumbnail representing the attachment.