It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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

 

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,503 views 14 20
Read article

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