Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-73784

Duplicate and missing pages in the results of Get content descendants by type API

    XMLWordPrintable

Details

    Description

      Issue Summary

      When performing the Get content descendants by type API and paginating results, we'll get some duplicated or missing pages.

      Steps to Reproduce

      1. Perform consecutive calls to the API with limit of 5 or less up until the last descendant
        GET /wiki/rest/api/content/{id}/descendant/page?limit=5&start=0
        ...
        GET /wiki/rest/api/content/{id}/descendant/page?limit=5&start=5
        ...
        GET /wiki/rest/api/content/{id}/descendant/page?limit=5&start=10
        ...
        

      Expected Results

      All of the descendant pages will be returned

      Actual Results

      Some pages are missing or duplicated

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iragudo Ian
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: