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

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

 

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

391 views 17 9
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