As mentioned in the title, i'd like to list all the spaces of a confluence instance with REST API.
I make a request which should list all the spaces but it return only 500 items ...
Is there a limit ?
I've set "limit=1000" in my request, is anyone know ?
Community moderators have prevented the ability to post new answers.
Disregard.... I think we figured it out...
Hi Antoine - I have a bit of an issue I noticed recently using this REST API - I am not seeing all the Spaces, and I have under 300 spaces... but some spaces are not in the file... what would cause them not to be included, since the limit is for 300 and we have less than 300..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which API are you using? (curiously)
If you do the search API via rest/api/search, there is a 500 limit.
I get a list of spaces via rest/api/space and I don't know if there is a limit there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I use rest/api/space ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm...thanks for heads up...I wasn't even aware that limit was a parameter.
I'm not sure how the recursion (mentioned blow) would even work unless you are capturing a from/to space on each call and putting in subsequent calls...
Weird.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That seem to be due to a hardcoded limit after confluence 5.. More about it here:
https://answers.atlassian.com/questions/258816
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't really understand, i must change my code by adding recursion ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.