REST API Support for Managing Confluence Page Density (Compact Density)

XMLWordPrintable

    • 4
    • 5

      Summary

      Confluence has introduced a compact density feature that allows users to control the visual density of a page (e.g., compact vs comfortable). However, this setting is currently not exposed via REST APIs.
      There is no supported way for integrators, automation scripts, or admin tools to programmatically read or update the density setting for a page. All changes must be done manually through the UI, which limits automation, bulk operations, and integration with external systems.

      Suggestion

      • Read Density Setting via REST API
        • Extend existing page/content REST APIs or add a dedicated endpoint to retrieve the current density setting for a page.
      • Update Density Setting via REST API
        • Provide an endpoint or payload extension to update the density for a given page or allow updating via metadata in existing content update APIs.
      • Permissions & Validation
        • Respect existing page permissions: only users with appropriate edit/admin rights can change density via API.
        • Validate allowed values (e.g., COMPACTCOMFORTABLE) and return clear error messages for invalid input.
      • Documentation & Versioning
        • Document the new fields/endpoints in the Confluence Cloud REST API reference.
        • Clearly mark availability (e.g., experimental vs GA) and any rate limits or constraints.

              Assignee:
              Unassigned
              Reporter:
              Kshitiz Awasthi (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: