Developer Portal for YouTrack and Hub 2021.3 Help

AttachmentContentWithMetadata

Properties

Name

Type

Description

data

Stream, string

The attachment content as obtained via the `Response.responseAsStream` method or as base64-encoded content.

metadata

Object

The attachment metadata.

metadata.charset

string

The charset type of the file. `null` by default. Applicable to text attachments only.

metadata.mimeType

string

The MIME type of the file. `null` by default.

Last modified: 14 September 2021