Attachment Model

Represents an attachment that is stored in Capsule.

Name Type Description
id Long Read only

The unique id of this attachment.

token String

The token of the attachment that has previous been uploaded using Upload Attachment.

filename String Read only

The filename of attached file

contentType String Read only

The files MIME type. Examples image/jpeg, application/pdf

size Long Read only

Size of the file in bytes