Extremely Slow Confluence API Return for children of Page with large number of children

I'm creating a simple script which recursively travels through my space and edits some content. The script is working completely fine, but when I hit a specific page (which has thousands of children pages,) the REST API can't handle the request. I attempted to add the limit and do some number of children at a time, but it did not make the request any faster. 


I have yet to get the request to return anything at all, after letting it churn for minutes with a return limit of 10. 


Here is an example call I made to the API:



If the parent page has a smaller number of children (say 100-500,) this call works fine and I get a response almost instantly.

Am I going about this the wrong way? Thank you!


1 answer

0 votes
Anton Chemlev Community Champion Nov 30, 2017

It seems to me that you hit some limits. Start from here - https://community.atlassian.com/t5/Questions/Confluence-REST-API-rate-limit/qaq-p/459911

Suggest an answer

Log in or Sign up to answer
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 Take your e...

1,084 views 2 13
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