メインコンテンツへスキップ
GET
組織で利用できるリポジトリの一覧

権限

組織レベルの Read 権限を持つサービスユーザーまたはパーソナルアクセストークンが必要です。

クエリパラメータ

  • filter_name — 名前でリポジトリを絞り込みます (大文字と小文字を区別しない部分一致) 。
  • only_repo_paths — これらのパスに一致するリポジトリのみを返します。
  • exclude_repo_paths — これらのパスに一致するリポジトリを除外します。
  • load_indexing_status — レスポンスにインデックス状態を含めるかどうか (デフォルト: true) 。インデックス状態が不要な場合は、応答を速くするため false に設定します。

承認

Authorization
string
header
必須

サービスユーザーの credential(プレフィックス: cog_)

パスパラメータ

org_id
string
必須

組織ID(プレフィックス:org-)

例:

"org-abc123def456"

クエリパラメータ

after
string | null
first
integer
デフォルト:100
必須範囲: 1 <= x <= 100
filter_name
string | null
only_repo_paths
string[] | null
exclude_repo_paths
string[] | null
provider_repository_id
string[] | null

プロバイダー側のリポジトリID(各項目のprovider_repository_idフィールド)が指定したIDと一致するリポジトリのみを返します。複数のIDを渡すには、同じパラメーターを繰り返し指定してください。

Maximum array length: 100
load_indexing_status
boolean
デフォルト:true

レスポンス

成功レスポンス

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

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

has_next_page
boolean
デフォルト:false

このページの後に利用可能なアイテムがさらにあるかどうか。

total
integer | null

任意の総件数(パフォーマンス上の理由から省略可能)。