GET /api/v1/auth/github/repos
Returns the list of GitHub repositories accessible to the authenticated user. BugViper uses this list to let you select which repositories to connect and review. Authentication required: YesResponse
Returns an array of repository objects.string
Short repository name (e.g.,
my-project).string
Full repository identifier in
owner/repo format (e.g., alicesmith/my-project).string | null
Repository description as set on GitHub.
string | null
Primary programming language detected by GitHub (e.g.,
Python, TypeScript, Go). null if GitHub has not detected a language.number
Number of GitHub stars.
boolean
Whether the repository is private (
true) or public (false).string
Name of the repository’s default branch (e.g.,
main, master).string
URL to the repository’s GitHub page.
GET /api/v1/auth/installation
Returns whether the BugViper GitHub App is installed and linked to the current user account. Call this endpoint after sign-in to decide whether to prompt the user to install the app before they can receive reviews. Authentication required: YesResponse
boolean
true if the GitHub App is installed and successfully linked to the authenticated user’s account, false otherwise.number | null
The GitHub App installation ID associated with the user’s account, or
null if the app is not yet installed.string | null
The GitHub username associated with this account.
string | null
A direct link to the GitHub App installation settings page. Present when
linked is true; null otherwise.If
linked is false, direct the user to install the BugViper GitHub App from the dashboard’s Settings page. After installation, call this endpoint again to confirm the link was established successfully.