GET /workspaces/{workspace}/permissions/repositories
Returns 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"
orq=permission>"read"
sort=user.display_name
Note that the query parameter values need to be URL escaped so that =
would become %3D
.
Servers
- https://api.bitbucket.org/2.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
workspace |
String | Yes |
This can either be the workspace ID (slug) or the workspace UUID
surrounded by curly-braces, for example: |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
q |
String | No |
Query string to narrow down the response as per filtering and sorting. |
sort |
String | No |
Name of a response property sort the result by as per filtering and sorting. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.