Start the GitHub App Install Flow
POST /api/github/installation_setup Begin the GitHub App installation flow. Returns a redirect URL that you open in a browser to grant Springwinter access to your GitHub account or organization. After you approve the installation on GitHub, the flow completes automatically.string
The GitHub URL to open in a browser. After the user approves the installation, GitHub redirects back to Springwinter, which completes the flow automatically.
List GitHub Installations
GET /api/github/installations Return all GitHub App installations connected to your Springwinter organization.array
Array of GitHub App installation objects.
Complete the GitHub App Install
POST /api/github/installations Finalize the GitHub App installation after GitHub redirects back to Springwinter. In most cases, Springwinter completes this step automatically via the redirect handler — call this endpoint manually only if the automatic completion fails.integer
required
The GitHub installation ID returned in the callback URL query parameter
installation_id after the user approves the GitHub App.Remove a GitHub Installation
DELETE /api/github/installations/ Remove a GitHub App installation record from Springwinter. This tells Springwinter to forget the installation — it stops being used for new builds and deployments. This action does not uninstall the GitHub App from GitHub itself.integer
required
The GitHub installation ID to remove from Springwinter.
List Repositories
GET /api/github/installations//repositories List all repositories accessible through a specific GitHub App installation. These are the repositories you granted Springwinter access to when you installed the GitHub App. Use this to discover which repos are available when configuring a web server, worker, or static website.array
Array of repository objects accessible through the installation.
When a build starts, Springwinter mints a short-lived GitHub installation token scoped to the specific repository being built. The token expires automatically and is not stored after the build completes. Springwinter never retains persistent GitHub credentials.