v2
Swagger 2.02026-08-01331211921.0 KBList repository permissions for a user
This endpoint is deprecated. Please use the workspace scoped alternative.
Returns an object for each repository the caller has explicit access to 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="geordi" 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
Repository permissions for the repositories a caller has explicit access to.