Connect GitHub accounts and organizations to a workspace through the RumptyCloud GitHub App, so deployments can build from your repositories. Once connected, list the repositories and branches the app can see and detect how a repository should be built.
A workspace can have several GitHub connections, one per GitHub account or organization. Connecting a new account happens in the browser on GitHub: get an install URL with Get the GitHub App install URL and open it. If you already connected the account in another workspace, you can link that connection instead.
Endpoints
| Endpoint | Description |
|---|---|
GET /v1/git-connections/github-app/install-url | Get the GitHub App install URL |
GET /v1/git-connections/github-app/installations | List GitHub App installations |
GET /v1/git-connections/github-app/installations/reusable | List reusable GitHub App installations |
POST /v1/git-connections/github-app/installations/{uid}/link | Link a GitHub App installation |
DELETE /v1/git-connections/github-app/installations/{uid} | Disconnect a GitHub App installation |
GET /v1/git-connections/github-app/repositories | List GitHub repositories |
GET /v1/git-connections/github-app/branches | List repository branches |
GET /v1/git-connections/github-app/detect | Detect a repository's app type |