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

    Interface RestoreContentVersion

    interface RestoreContentVersion {
        expand?: string[];
        id: string;
        operationKey: string;
        params: { message: string; versionNumber: number };
    }

    Hierarchy (View Summary)

    Index

    Properties

    expand?: string[]

    A multi-value parameter indicating which properties of the content to expand. By default, the content object is expanded.

    • collaborators returns the users that collaborated on the version.
    • content returns the content for the version.
    id: string

    The ID of the content for which the history will be restored.

    operationKey: string

    Set to 'restore'.

    params: { message: string; versionNumber: number }

    Type declaration

    • message: string

      Description for the version.

    • versionNumber: number

      The version number to be restored.