Deprecated

Use ContentStates instead.

Constructors

Properties

client: Client

Methods

  • Type Parameters

    Parameters

    Returns Promise<void>

    Deprecated

    Gets the current page status of the draft or published version of content. To specify the draft version, set the parameter status to PUBLISHED, otherwise DRAFT.

  • Type Parameters

    Parameters

    Returns Promise<T>

    Deprecated

    Gets the current page status of the draft or published version of content. To specify the draft version, set the parameter status to PUBLISHED, otherwise DRAFT.

  • Type Parameters

    Parameters

    Returns Promise<void>

    Deprecated

    Removes the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status.

  • Type Parameters

    Parameters

    Returns Promise<T>

    Deprecated

    Removes the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status.

  • Type Parameters

    Parameters

    Returns Promise<void>

    Deprecated

    Sets the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status. The desired type of status must be allowed. There are space suggested statuses and custom statuses. To specify the desired new status, one can use the id of the status or the name and color of the status. If contentStateId is defined, then name and color are ignored. If contentStateId is not defined, name and color will be used if provided. Firstly, we will determine if a status of this name and color exists, and if it does, that this status is used. If it does not exist, and custom statuses are allowed, a custom status with this name and color will be created. Color can be specified in traditional english colors (teal, magenta, lavender, etc.) or as a hex string ex: #0ff0Fd.

  • Type Parameters

    Parameters

    Returns Promise<T>

    Deprecated

    Sets the content state of the content specified and creates a new version (publishes the content without changing the body) of the content with the new status. The desired type of status must be allowed. There are space suggested statuses and custom statuses. To specify the desired new status, one can use the id of the status or the name and color of the status. If contentStateId is defined, then name and color are ignored. If contentStateId is not defined, name and color will be used if provided. Firstly, we will determine if a status of this name and color exists, and if it does, that this status is used. If it does not exist, and custom statuses are allowed, a custom status with this name and color will be created. Color can be specified in traditional english colors (teal, magenta, lavender, etc.) or as a hex string ex: #0ff0Fd.

Generated using TypeDoc v0.25.12