List all repository permissions for a workspace
Changed onReturns an object for each repository permission for all of a workspace's repositories.
Permissions returned are effective permissions: the highest level of permission the user has. This does not distinguish between direct and indirect (group) privileges.
Only users with admin permission for the team may access this resource.
Permissions can be:
- admin
- write
- read
Results may be further filtered or sorted by repository, user, or permission by adding the following query string parameters:
- q=repository.name="geordi" or q=permission>"read"
- sort=user.display_name
Note that the query parameter values need to be URL escaped so that = would become %3D.
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/workspaces/{workspace}/permissions/repositories
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: account
- or HTTP basic
- or API key in header Authorization
Query parameters
Query string to narrow down the response as per filtering and sorting.
Name of a response property sort the result by as per filtering and sorting.
Response
List of workspace's repository permissions.
Changes
- warning
removed the optional property
////////////////from the response with the status - warning
removed the optional property
/////////////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
////////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
////from the response with the status - warning
added the new
rebase_fast_forwardenum value to the///////response property for the response status - warning
added the new
rebase_mergeenum value to the///////response property for the response status - warning
added the new
squash_fast_forwardenum value to the///////response property for the response status - info
added the optional property
////////////to the response with the status
- warning