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

GET /wiki/rest/api/content/{id}/child/{type} start parameter isn't working with custom types

    XMLWordPrintable

Details

    Description

      Issue Summary

      Start parameter isn't working when using the GET /wiki/rest/api/content/{id}/child/{type} API with Custom Types.

      Steps to Reproduce

      1. Create a new cloud app that introduces its own custom content type
      1. Create two custom content items as children of a page
      1. Request those custom content items through the content child API. Set the start query parameter to 0 and the limit query parameter to 1: GET /content/<id>/child/<custom-content-type>/?start=0&limit=1
      1. Do the same request again, this time set start to 1: GET /content/<id>/child/<custom-content-type>/?start=1&limit=1
      1. Do the same request again, this time set start to 2: GET /content/<id>/child/<custom-content-type>/?start=2&limit=1

      Expected Results

      Get two different responses from items 4 and 5.

      Actual Results

      The start parameter is ignored and we receive the same response from items 4 and 5.

      Workaround

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            19f388d9de30 Cassio Pilla (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: