API not returning ALL child pages

I want to retrieve all child pages from a parent page. I did the following:

https://community.atlassian.com/t5/Answers-Developer-Questions/Given-a-page-how-can-I-retrieve-all-its-child-pages-via-the-rest/qaq-p/561584

Parent id request:

/content/search?cql=(title="foo" and space="bar") => id: 1234
Child pages request:
/content/search?cql=(parent=1234)

Using this method I only get some of my child pages but not all of them.

 

I did antoher request to obtain the ancestors from one child page which I do not get from the above request. The ancestors contains my parent page.

 

Any ideas?

1 answer

1 accepted

0 votes
Accepted answer

Im am an idiot, its because of the max. response size see here.

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you