REST API Content Template Pagination is Broken

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Summary

      start parameter to return starting index of the returned templates has no effect on the result.

      Environment

      Confluence Cloud

      Steps to Reproduce

      1. Create 5 Global Page Templates
      2. Search for the first 2 Templates through REST API
        curl --request GET \
          --url 'https://<instance>.atlassian.net/wiki/rest/api/template/page?limit=2&start=0' \
          --user '<Email>:<APIToken>' \
          --header 'Accept: application/json'
        
      3. Search for the templates starting 3rd templates
          curl --request GET \
          --url 'https://<instance>.atlassian.net/wiki/rest/api/template/page?limit=2&start=3' \
          --user '<Email>:<APIToken>' \
          --header 'Accept: application/json'
        

      Expected Results

      start parameter should be the starting index of the returned templates.

      Actual Results

      start parameter to return starting index of the returned templates has no effect on the result.

      Workaround

      • None

              Assignee:
              Aniruddha Kakade
              Reporter:
              Janice Alor (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: