interface AttachmentSingle {
    _links?: AttachmentLinks;
    blogPostId?: string;
    comment?: string;
    createdAt?: string;
    customContentId?: string;
    downloadLink?: string;
    fileId?: string;
    fileSize?: number;
    id?: string;
    labels?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: Label[];
    } & {
        [key: string]: unknown;
    };
    mediaType?: string;
    mediaTypeDescription?: string;
    operations?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: Operation[];
    } & {
        [key: string]: unknown;
    };
    pageId?: string;
    properties?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: ContentProperty[];
    } & {
        [key: string]: unknown;
    };
    status?: ContentStatus;
    title?: string;
    version?: Version;
    versions?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: Version[];
    } & {
        [key: string]: unknown;
    };
    webuiLink?: string;
}

Hierarchy

  • Record<string, unknown>
    • AttachmentSingle

Properties

blogPostId?: string

ID of the containing blog post.

Note: This is only returned if the attachment has a container that is a blog post.

comment?: string

Comment for the attachment.

createdAt?: string

Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".

customContentId?: string

ID of the containing custom content.

Note: This is only returned if the attachment has a container that is custom content.

downloadLink?: string

Download link of the attachment.

fileId?: string

File ID of the attachment. This is the ID referenced in atlas_doc_format bodies and is distinct from the attachment ID.

fileSize?: number

File size of the attachment.

id?: string

ID of the attachment.

labels?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: Label[];
} & {
    [key: string]: unknown;
}
mediaType?: string

Media Type for the attachment.

mediaTypeDescription?: string

Media Type description for the attachment.

operations?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: Operation[];
} & {
    [key: string]: unknown;
}
pageId?: string

ID of the containing page.

Note: This is only returned if the attachment has a container that is a page.

properties?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: ContentProperty[];
} & {
    [key: string]: unknown;
}
status?: ContentStatus

The status of the content.

title?: string

Title of the comment.

version?: Version
versions?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: Version[];
} & {
    [key: string]: unknown;
}
webuiLink?: string

WebUI link of the attachment.