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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Results when calling Bitbucket API{workspace}

I noticed that even when a workspace has been set to private, I can call the{workspace} w/o credentials and still get a response instead of getting a 401 or similar.


{"values": [], "pagelen": 10, "size": 0, "page": 1}

I get the above response and the pagelen key seems to accurately count the number of projects within the workspace.

I get that there really is not much information in the response but it does seem to reveal a number that I feel should be private. Could I be missing a setting somewhere or is this expected behavior?

1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 07, 2022


The pagelen value is by default 10, it is not actually showing the number of results pulled by the API query so rest assured that this information is not being revealed.
This can be increased higher by adding the pagelen value to the URL, you can try this yourself by appending "?pagelen=20" to the end of the query URL, without authentication it will result in:

{"values": [], "pagelen": 20, "size": 0, "page": 1}

Hope this makes sense.


- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events