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.Short repository name (e.g.,
my-project).Full repository identifier in
owner/repo format (e.g., alicesmith/my-project).Repository description as set on GitHub.
Primary programming language detected by GitHub (e.g.,
Python, TypeScript, Go). null if GitHub has not detected a language.Number of GitHub stars.
Whether the repository is private (
true) or public (false).Name of the repository’s default branch (e.g.,
main, master).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
true if the GitHub App is installed and successfully linked to the authenticated user’s account, false otherwise.The GitHub App installation ID associated with the user’s account, or
null if the app is not yet installed.The GitHub username associated with this account.
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.