Skip to main content
GET
The GitHub repo that's a project's repo

Path Parameters

owner
string
required
Example:

"patch"

slug
string
required
Example:

"demo-mod"

Response

Its GitHub repo

repo_id
integer
required

GitHub's id for it, which renames keep

full_name
string
required
Example:

"sam/sky-mod"

html_url
string<uri>
required
Example:

"https://github.com/sam/sky-mod"

default_branch
string
required
Example:

"main"

private
boolean
required

Whether it's private on GitHub

head_commit
string | null
required

The default branch's latest commit, as of GitHub's last push event

pushed_at
string<date-time> | null
required
state
enum<string>
required

connected. disconnected: someone disconnected it on Patch, or it moved to an account without Patch's GitHub App. gone: deleted from GitHub. suspended: the app is suspended on its account. no_access: the app no longer reaches it (uninstalled, or the repo was taken out of the installation).

Available options:
connected,
disconnected,
gone,
suspended,
no_access