The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use pagination to get more than 50 data sets of information while using Bitbucket API.

kompal.sithta
May 9, 2023

I am trying to retrieve the list of users in a workspace using the Bitbucket API for List of users in a workspace

I am sending my get request to the following URL - 

This returning only 50 users but there are more than that.
I want to know how to get the users using pagination or any other method.
Thanks,
Kompal

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Naveen Kumar_Appfire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 9, 2023

HI @kompal.sithta

In the above REST API output there is a Next parameter. Use that next parameter to get the rest of the users.

Screenshot 2023-05-10 at 11.53.31 AM.png

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events