Details
-
Suggestion
-
Resolution: Unresolved
Description
In API 1.0, we can get a list of repositories with a specific privilege group.
However, in API 2.0 there's no endpoint similar to the results of the API 1.0.
API 1.0 Specific Privilege group:
https://api.bitbucket.org/1.0/group-privileges/{accountname}/{group_owner}/{group_slug}
In API 2.0, we can achieve this by running the endpoints below:
Get all repositories in a workspace:
Iterate the list of repos to find what permissions a certain user group has on a repo:
However, considering the rate limit of 1000 requests per hour for /2.0/repositories/*, the rate limits will be reached quickly for workspaces with more than 1000 repos.
It would be very useful if we can have an endpoint to get a list of repositories with a specific privilege group in API 2.0.