API 2.0 endpoint for specific privilege group

Issue #17804 new
Mark Cerezo
staff created an issue

In API 1.0, you 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 Priviledge group:

https://api.bitbucket.org/1.0/group-privileges/{accountname}/{group_owner}/{group_slug}

https://confluence.atlassian.com/bitbucket/group-privileges-endpoint-296093137.html#group-privilegesEndpoint-GETalistofrepositorieswithaspecificprivilegegroup

In API 2.0, you achieve this by running to endpoints.

https://api.bitbucket.org/2.0/teams/netceler/permissions
https://api.bitbucket.org/2.0/teams/netceler/permissions/repositories

https://developer.atlassian.com/bitbucket/api/2/reference/resource/teams/%7Busername%7D/permissions

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.