V2 GET Spaces API (/wiki/api/v2/spaces) does not work with Admin Key REST API

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 2

      Issue Summary

      1. Using the V2 GET Spaces REST API would return the list of Spaces that the API user/account is allowed to access.
      2. By default this would not return any Spaces that the user/account is unable to access, unless the Admin Key REST API is in use
      3. But even with the Admin Key REST API, this V2 endpoint does not return the full list of Spaces in Confluence.

      Steps to Reproduce

      1. Run the Admin Key REST API for the API user/account.
      2. Run the V2 GET Spaces REST API
      3. Notice that not all the Spaces is returned.

      Expected Results

      Actual Results

      • Only the Spaces that the user/account has access to is returned.

      Workaround

      • Note: The V1 GET Spaces REST API has been deprecated, and is no longer listed in our REST API documentation:
        • https://developer.atlassian.com/cloud/confluence/changelog/
        • But this endpoint should still work, for now.

              Assignee:
              Spurthi Kulkarni
              Reporter:
              Sattesh M
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: