Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17804

API 2.0 endpoint for specific privilege group

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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}
      

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

      In API 2.0, we can achieve this by running the endpoints below.

      https://api.bitbucket.org/2.0/teams/team_account/permissions
      https://api.bitbucket.org/2.0/teams/team_account/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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mcerezo Mark C
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: