Page list index not matching via api

shaniba
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!
December 16, 2024

 

Why am I unable to retrieve the list of pages in the Confluence page UI using the API

1 answer

0 votes
Humashankar VJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 16, 2024

Hi @shaniba 

When working with the Confluence API, it's essential to be aware of the limits on the number of results returned per API call.

Failure to handle pagination correctly can result in missing pages.

Consider using generic API calls that can handle larger result sets, such as the contentService.find method with appropriate expansions and pagination.

Besides this, ensure your script properly handles pagination by utilizing SimplePageRequest to manage the pagination process, guaranteeing that all pages are retrieved.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Suggest an answer

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

Atlassian Community Events