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

    Class Settings

    Index

    Constructors

    Methods

    • Returns the system information for the Confluence Cloud tenant. This information is used by Atlassian.

      Permissions required: Permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      Returns Promise<void>

    • Returns the system information for the Confluence Cloud tenant. This information is used by Atlassian.

      Permissions required: Permission to access the Confluence site ('Can use' global permission).

      Type Parameters

      Parameters

      • Optionalcallback: undefined

      Returns Promise<T>

    • Resets the custom look and feel settings for the site or a single space. This changes the values of the custom settings to be the same as the default settings. It does not change which settings (default or custom) are selected. Note, the default space settings are inherited from the current global settings.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Resets the custom look and feel settings for the site or a single space. This changes the values of the custom settings to be the same as the default settings. It does not change which settings (default or custom) are selected. Note, the default space settings are inherited from the current global settings.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>

    • Sets the look and feel settings to either the default settings or the custom settings, for the site or a single space. Note, the default space settings are inherited from the current global settings.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<void>

    • Sets the look and feel settings to either the default settings or the custom settings, for the site or a single space. Note, the default space settings are inherited from the current global settings.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<T>

    • Sets the look and feel settings to the default (global) settings, the custom settings, or the current theme's settings for a space. The custom and theme settings can only be selected if there is already a theme set for a space. Note, the default space settings are inherited from the current global settings.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Sets the look and feel settings to the default (global) settings, the custom settings, or the current theme's settings for a space. The custom and theme settings can only be selected if there is already a theme set for a space. Note, the default space settings are inherited from the current global settings.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      Parameters

      Returns Promise<T>

    • Updates the look and feel settings for the site or for a single space. If custom settings exist, they are updated. If no custom settings exist, then a set of custom settings is created.

      Note, if a theme is selected for a space, the space look and feel settings are provided by the theme and cannot be overridden.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Updates the look and feel settings for the site or for a single space. If custom settings exist, they are updated. If no custom settings exist, then a set of custom settings is created.

      Note, if a theme is selected for a space, the space look and feel settings are provided by the theme and cannot be overridden.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      Parameters

      Returns Promise<T>