メインコンテンツへスキップ
GET
/
v2
/
enterprise
/
organizations
/
{org_id}
/
git
/
permissions
Enterprise Organization Permissions Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/git/permissions \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "host": "<string>",
      "permission_id": "<string>",
      "group_prefix": "<string>",
      "prefix_path": "<string>",
      "repo_path": "<string>"
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
Enterprise 管理者の個人用 APIキーが必要です。 Enterprise 内で、特定の組織がアクセスできる git リポジトリ権限のページネーション対応一覧を返します。

承認

Authorization
string
header
必須

Personal API Key (apk_user_*) for Enterprise Admins only

パスパラメータ

org_id
string
必須

クエリパラメータ

skip
integer
デフォルト:0
必須範囲: x >= 0
limit
integer
デフォルト:100
必須範囲: 1 <= x <= 200

レスポンス

Successful Response

has_more
boolean
必須
items
GitPermissionResponse · object[]
必須
limit
integer
必須
skip
integer
必須
total
integer
必須
next_cursor
integer | null