メインコンテンツへスキップ
GET
/
v3beta1
/
enterprise
/
git-providers
/
connections
Git 接続の一覧
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/git-providers/connections \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "created_at": 123,
      "git_connection_id": "<string>",
      "git_provider_type": "github_token",
      "host": "<string>",
      "name": "<string>"
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

権限

Enterprise レベルで ManageGitIntegrations 権限を持つサービスユーザーが必要です。

承認

Authorization
string
header
必須

サービスユーザーの認証情報(接頭辞: cog_)

クエリパラメータ

after
string | null
first
integer
デフォルト:100
必須範囲: 1 <= x <= 200

レスポンス

成功時のレスポンス

items
GitConnectionResponse · object[]
必須
end_cursor
string | null

次のページを取得するためのカーソル。最終ページの場合は None です。

has_next_page
boolean
デフォルト:false

このページ以降に、さらに取得可能な項目があるかどうか。

total
integer | null

合計件数(任意。パフォーマンス向上のため省略可能)。