I need to get all pages(their id) from one space. There is much more then 200 but even if i set limit to 10000, i only get 200. Any ideas how to do it ?
Community moderators have prevented the ability to post new answers.
The Confluence REST API does not necessarily return all the way up to the requested limit no matter what, there is also a hardcoded maximum limit (which may be different based on which version of Confluence you have).
If there are more results than the limit (i.e. if the "size" variable is the same as the "limit" variable), then you will have to include another parameter called "start". So, if your limit is 200, then you should call /rest/api/space with "&start=200", and if size is still 200, then you will have to call it again with "&start=400". So you might have to call /rest/api/space multiple times, but eventually you will get all the results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.