Get content children by type REST API returns duplicate pages on pagination

XMLWordPrintable

    • Severity 2 - Major

      Summary

      In my instance, I want to fetch all pages in the ALPHA space. These pages are named "Page x" where x is a number from 0 - 99.

      I make a request to Get content children by type using the content ID of the homepage which returns pages 0 - 24 successfully.

      I follow the "next" link in that response payload to get the next set of 25 results, however, the response contains pages 4-9 again and then pages 30-48

      Each "next" link always returns some of the pages from the first request, so there are some pages I never retrieve from the REST API.

      Steps to Reproduce

      1. Create 50 pages (or child pages); the test was done by creating 50 pages with titles "Page 0" to "Page 49"
      2. Call Get content children by type and use the parent page (or the page ID of the homepage) with limit 25
      3. Call the same endpoint and add the start query parameter with the value of 25

      Expected Results

      A new set of results unique from the previous calls.

      Actual Results

      Pages 4 to 9 are repeated on the 1st and 2nd call

            Assignee:
            Kate West-Walker
            Reporter:
            Jon Bevan [Adaptavist]
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: