Skip to content

List the repositories on GitHub

GET
/api/v1/github/repos
curl --request GET \
--url https://digize.com/api/v1/github/repos \
--header 'x-api-key: <x-api-key>'

The repositories the workspace’s GitHub installation reaches, most recently pushed first, with the Workers that deploy from each. Up to 500; give the Digize app more repositories on GitHub to see them here.

Needs the sites:read permission.

Done

Media typeapplication/json
object
account
required

The GitHub account or organization.

string
settingsUrl
required
string
data
required
Array<object>
object
id
required
number
fullName
required
string
name
required
string
private
required
boolean
defaultBranch
required
string
url
required
string
archived
required
boolean
pushedAt
required
Any of:
string format: date-time
linkedTo
required
Array<object>
object
worker
required
string
branch
required
string

Example generated

{
"account": "example",
"settingsUrl": "example",
"data": [
{
"id": 1,
"fullName": "example",
"name": "example",
"private": true,
"defaultBranch": "example",
"url": "example",
"archived": true,
"pushedAt": "2026-04-15T12:00:00Z",
"linkedTo": [
{
"worker": "example",
"branch": "example"
}
]
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}