返回企业中某个特定组织可访问的 Git 连接分页列表。
要返回的最大连接数。必须在 1 到 200 之间。
组织的 Git 连接对象数组
Git 连接类型(例如:“github”、“gitlab”、“azure_devops”)
Git 主机(例如:“github.com”、“gitlab.com”)
curl -X GET "https://api.devin.ai/v2/enterprise/organizations/org_123/git/connections" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "conn_123",
"type": "github",
"name": "GitHub Enterprise",
"created_at": "2024-01-15T10:30:00Z",
"host": "github.com"
},
{
"id": "conn_456",
"type": "gitlab",
"name": "GitLab Instance",
"created_at": "2024-01-20T14:45:00Z",
"host": "gitlab.example.com"
}
],
"total": 2,
"skip": 0,
"limit": 100,
"has_more": false,
"next_cursor": null
}