Developer Portal for YouTrack and Hub Help

AttachmentContentWithMetadata

Properties

Name

Type

Description

data

Stream, string

The attachment content as obtained from `Response.responseAsStream` or as base64-encoded content. For reference on the Response class, see https://www.jetbrains.com/help/youtrack/devportal/v1-Response.html

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: 19 September 2022