Zum Hauptinhalt springen
GET
/
v2
/
enterprise
/
organizations
/
{org_id}
/
git
/
connections
Enterprise Organization Connections Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/git/connections \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "connection_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "host": "<string>",
      "name": "<string>",
      "type": "github_token"
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
Erfordert den persönlichen API key eines Enterprise-Administrators. Gibt eine paginierte Liste der Git-Verbindungen zurück, auf die eine bestimmte Organisation innerhalb Ihrer Enterprise-Umgebung Zugriff hat.

Autorisierungen

Authorization
string
header
erforderlich

Personal API Key (apk_user_*) for Enterprise Admins only

Pfadparameter

org_id
string
erforderlich

Abfrageparameter

skip
integer
Standard:0
Erforderlicher Bereich: x >= 0
limit
integer
Standard:100
Erforderlicher Bereich: 1 <= x <= 200

Antwort

Successful Response

has_more
boolean
erforderlich
items
GitConnectionResponse · object[]
erforderlich
limit
integer
erforderlich
skip
integer
erforderlich
total
integer
erforderlich
next_cursor
integer | null