Developer Portal for YouTrack and Hub Help

AttachmentContentWithMetadata

Represents the content of an attachment with metadata.

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 Response.

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 June 2024