Constructors

Properties

client: Client

Methods

  • Delete a historical version. This does not delete the changes made to the content in that version, rather the changes for the deleted version are rolled up into the next version. Note, you cannot delete the current version.

    Permissions required: Permission to update the content.

    Type Parameters

    • T = void

    Parameters

    Returns Promise<void>

  • Delete a historical version. This does not delete the changes made to the content in that version, rather the changes for the deleted version are rolled up into the next version. Note, you cannot delete the current version.

    Permissions required: Permission to update the content.

    Type Parameters

    • T = void

    Parameters

    Returns Promise<T>

  • Returns a version for a piece of content.

    Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.

    Type Parameters

    Parameters

    Returns Promise<void>

  • Returns a version for a piece of content.

    Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.

    Type Parameters

    Parameters

    Returns Promise<T>

  • Returns the versions for a piece of content in descending order.

    Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.

    Type Parameters

    Parameters

    Returns Promise<void>

  • Returns the versions for a piece of content in descending order.

    Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.

    Type Parameters

    Parameters

    Returns Promise<T>

  • Restores a historical version to be the latest version. That is, a new version is created with the content of the historical version.

    Permissions required: Permission to update the content.

    Type Parameters

    Parameters

    Returns Promise<void>

  • Restores a historical version to be the latest version. That is, a new version is created with the content of the historical version.

    Permissions required: Permission to update the content.

    Type Parameters

    Parameters

    Returns Promise<T>

Generated using TypeDoc v0.25.12