Skip to main content
GET
List repositories in a project (or one by name)

Authorizations

Authorization
string
header
required

Authorization code flow with PKCE-S256. RFC 8628 device flow is also supported.

Path Parameters

projectId
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Query Parameters

pageSize
integer<int32>

Maximum entries to return; server may cap further.

Required range: 0 <= x <= 500
pageToken
string

Opaque cursor from a previous response's nextPageToken.

name
string

Optional: exact-match repo name (case-insensitive).

scope
enum<string>
default:onboarded

onboarded (default): the project's repos in Entire. all: also lists the GitHub owner's unmirrored repos that the caller can access on GitHub, after all published repos. Only a GitHub mirrors project has such repos. Ignored when name is set.

Available options:
onboarded,
all
commitToken
string

Optional: opaque commit token from a create, to read a snapshot that contains that write.

Pattern: ^$|^[A-Za-z0-9_-]{60,512}$

Response

OK

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/v1/schemas/ListProjectReposOutputBody.json"

candidatesIncomplete
boolean
nextPageToken
string

Pass back to fetch the next page; empty when no more entries.

repo
object
repos
object[]