I'm looking to get an API query I can run that will show me a list of the groups with the user membership, the repositories and the repository permissions. I am using Postman with this GET {{baseUrl}}/workspaces/workspacename/permissions/repositories?page=20&pagelen=100
It works great but it has over 3k results. I think it'd be easier if I can get a list of groups with their repository permissions and then the users' group membership.
Hi, @Kristin Lyons, thank you for reaching out to Atlassian Community.
We do have groups and group-privileges endpoints that could be useful to you. Just to give you some context around our API, our old rest API 1.0 used to include endpoints that would allow these sorts of operations, however, the 1.0 API has been deprecated with the intent that the 2.0 API would be a direct replacement.
With that said, there are a few old 1.0 endpoints that we kept in place as a temporary solution until the 2.0 replacements are made available.
Until the Atlassian platform services are fully available in Bitbucket, we will continue to support these 1.0 REST endpoints:
/1.0/groups
/1.0/group-privileges
/1.0/invitations
/1.0/users/{accountname}/invitations
You can find all the information about these endpoints here:
I hope this helps, but do let me know if you have any questions.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.