Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events