Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API retrieving duplicate content in the pages requested.

Dan Kauppi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2020

When using REST API for confluence to retrieve information there are duplicates when implementing pagination. When I implemented start and limit parameters from 0 to 1000 i get a list size of 250. When I do the query from 500 to 1000 i get a list size of 750. I am using CQL and search query in the REST API.

1 answer

0 votes
Dušan Hudeček
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2020

I encountered same problem. For me if I have have X records and set limit to N then I will get X / N duplicate records.

I found this link https://community.atlassian.com/t5/Confluence-questions/REST-API-returns-some-duplicate-pages-for-content-page-queries/qaq-p/972332

Still I coudn't found in documentation that ordering is required to avoid duplicate records.

I also do not know how to do ordering if I do not use search but standard endpoints such /rest/api/group/<GROUP_NAME>/member?next=true&limit=10&start=10

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events