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

    Interface GetAttachments

    interface GetAttachments {
        expand?: OneOrMany<string>;
        filename?: string;
        id: string;
        limit?: number;
        mediaType?: string;
        start?: number;
    }
    Index

    Properties

    expand?: OneOrMany<string>

    A multi-value parameter indicating which properties of the content to expand.

    filename?: string

    Filter the results to attachments that match the filename.

    id: string

    The ID of the content to be queried for its attachments.

    limit?: number

    The maximum number of attachments to return per page. Note, this may be restricted by fixed system limits.

    mediaType?: string

    Filter the results to attachments that match the media type.

    start?: number

    The starting index of the returned attachments.