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

This widget could not be displayed.

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

470 views 6 6
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