Saltar al contenido principal
GET
/
v3beta1
/
enterprise
/
organizations
/
{org_id}
/
git-providers
/
permissions
List Git Permissions
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/organizations/{org_id}/git-providers/permissions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "git_connection_id": "<string>",
      "git_permission_id": "<string>",
      "group_prefix": "<string>",
      "repo_path": "<string>"
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

Permisos

Requiere un usuario de servicio con el permiso ManageGitIntegrations a nivel Enterprise.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

org_id
string
required

Query Parameters

after
string | null
first
integer
default:100
Rango requerido: 1 <= x <= 200

Response

Successful Response

items
GitPermissionResponse · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).