v2
Swagger 2.02026-08-01331211921.0 KBList repository permissions in a workspace for a user
Returns an object for each repository the caller has explicit access to in the specified workspace and their effective permission — the highest level of permission the caller has. This does not return public repositories that the user was not granted any specific permission in, and does not distinguish between explicit and implicit privileges.
Permissions can be:
- admin
- write
- read
Results may be further filtered or sorted by repository or permission by adding the following query string parameters:
- q=repository.name="bits" or q=permission>"read"
- sort=repository.name
Note that the query parameter values need to be URL escaped so that = would become %3D.
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
The list of repository permissions for the authenticated user in the specified workspace.