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

    Interface DownloadAttachment

    interface DownloadAttachment {
        attachmentId: string;
        id: string;
        status?: string | string[];
        version?: number;
    }
    Index

    Properties

    attachmentId: string

    The ID of the attachment to download.

    id: string

    The ID of the content that the attachment is attached to.

    status?: string | string[]

    The statuses allowed on the retrieved attachment. If this parameter is absent, it will default to current.

    current
    
    version?: number

    The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.