返回该企业中某个特定组织拥有的 Git 仓库访问权限的分页列表。
要返回的权限最大数量。必须在 1 至 200 之间。
该组织的 Git 权限对象数组
Git 主机(例如:“github.com”、“gitlab.com”)
curl -X GET "https://api.devin.ai/v2/enterprise/organizations/org_123/git/permissions" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"permission_id": "perm_123",
"host": "github.com",
"repo_path": "company/backend-api",
"group_prefix": null
},
{
"permission_id": "perm_456",
"host": "github.com",
"repo_path": "company/frontend-app",
"group_prefix": null
},
{
"permission_id": "perm_789",
"host": "gitlab.com",
"repo_path": null,
"group_prefix": "engineering"
}
],
"total": 3,
"skip": 0,
"limit": 100,
"has_more": false,
"next_cursor": null
}