Not able to get paginated result for group members in Confluence cloud using REST API.
https://<companyName>.atlassian.net/wiki/rest/api/group/{groupName}/member?limit=100&start=0
This call correctly returned me the first 100 members in the group.
When I tried to get the next 100 members throught the below call:
https://<companyName>.atlassian.net/wiki/rest/api/group/{groupName}/member?limit=100&start=101
It returned first 100 members again (same result as previous call)
limit parameter works, restricts the result to the value specified.
But start parameter is not considering the value specified, it is getting the results with its default value which is 0.
Could you please help, what I am missing here?
Hi Priyadarshini KS,
You're not missing anything; this is actually a known bug in our system: CONFCLOUD-56322
There is one workaround if you have groups with fewer than 200 members, which I will assume you may not:
Use the limit value up to 200 for groups with less than 200 users.
There is no workaround for groups with more than 200 users.
Let us know if you have any questions about this. In the meantime you can vote on that issue to help show the number of users who have run into the issue, and watch it in order to be updated of any changes.
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.