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:

Results may be further filtered or sorted by repository, user, or permission by adding the following query string parameters:

Note that the query parameter values need to be URL escaped so that = would become %3D.

Servers

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: {workspace UUID}.

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

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.