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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,812
Community Members
 
Community Events
176
Community Groups

Bitbucket API list group members pagination

Hello, I'm trying to list members of a group using the API.

I am aware that API v2 doesn't support that so I'm using the API v1.

https://support.atlassian.com/bitbucket-cloud/docs/groups-endpoint/

I didn't find anything regarding pagination, how can I list large group's members?

2 answers

1 vote
Patrik S Atlassian Team Aug 02, 2022

Hello @Admin acme-deepcred ,

Thank you for reaching out to Community.

The Bitbucket 1.0 API endpoints, including the groups endpoint,  do not support pagination and all the results for the API call will be returned in a single request.

Our development team is actively working on implementing the equivalent groups endpoint into the 2.0 API, which will then fully support pagination. You can check the feature request in the below link : 

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.

Thank you, @Admin acme-deepcred .

Kind regards,

Patrik S

Pramodh M Community Leader Aug 02, 2022

Thank you @Patrik S 

0 votes
Pramodh M Community Leader Jul 25, 2022

Hi @Admin acme-deepcred 

Have you checked with pagelen and page parameters?

https://developer.atlassian.com/cloud/bitbucket/rest/intro/#pagination

Thanks,
Pramodh

Hi thanks for the answer!
Yes I have, these parameters don't seem to work with v1

Pramodh M Community Leader Jul 25, 2022

Hi @Admin acme-deepcred 

Can you check with the header information as described here and see if you get more information

https://support.atlassian.com/bitbucket-cloud/docs/use-bitbucket-rest-api-version-1/

Thanks,
Pramodh

Unfortunately I couldn't find anything related to pagination in the HTTP headers

Suggest an answer

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

Atlassian Community Events