Confluence.js - Cloud and Server API library
    Preparing search index...

    Interface CreateAttachments

    interface CreateAttachments {
        attachments: OneOrMany<
            {
                comment?: string;
                contentType?: string;
                file: | string
                | Blob
                | File
                | ReadableStream<any>
                | Buffer<ArrayBufferLike>;
                filename: string;
                minorEdit: boolean;
            },
        >;
        id: string;
        status?: string;
    }
    Index

    Properties

    attachments: OneOrMany<
        {
            comment?: string;
            contentType?: string;
            file: string
            | Blob
            | File
            | ReadableStream<any>
            | Buffer<ArrayBufferLike>;
            filename: string;
            minorEdit: boolean;
        },
    >

    The attachments to be created.

    id: string

    The ID of the content to add the attachment to.

    status?: string

    The status of the content that the attachment is being added to.