Git Providers
Connect GitHub, GitLab, or Bitbucket for git-based deployments and auto-deploy on push.
List Providers
| Method | Path | Description |
|---|---|---|
GET | /api/v1/settings/git-providers | List configured providers |
GitHub
| Method | Path | Description |
|---|---|---|
POST | /api/v1/settings/git-providers/github | Configure GitHub |
DELETE | /api/v1/settings/git-providers/github | Remove GitHub |
GET | /api/v1/settings/git-providers/github/repositories | List repositories |
GET | .../github/repositories/:owner/:repo/branches | List branches |
GET | .../github/repositories/:owner/:repo/tree/:branch | Get file tree |
GET | .../github/repositories/:owner/:repo/contents | Get directory contents |
GET | .../github/repositories/:owner/:repo/contents/* | Get nested contents |
GET | .../github/repositories/:owner/:repo/file/* | Get file content |
GitLab
| Method | Path | Description |
|---|---|---|
POST | /api/v1/settings/git-providers/gitlab | Configure GitLab |
DELETE | /api/v1/settings/git-providers/gitlab | Remove GitLab |
GET | /api/v1/settings/git-providers/gitlab/projects | List projects |
GET | .../gitlab/projects/:projectId/branches | List branches |
GET | .../gitlab/projects/:projectId/tree/:branch | Get file tree |
Bitbucket
| Method | Path | Description |
|---|---|---|
POST | /api/v1/settings/git-providers/bitbucket/credentials | Save app password |
POST | /api/v1/settings/git-providers/bitbucket/oauth | OAuth token exchange |
DELETE | /api/v1/settings/git-providers/bitbucket | Remove Bitbucket |
GET | /api/v1/settings/git-providers/bitbucket/workspaces | List workspaces |
GET | .../bitbucket/repositories | List repositories |
GET | .../bitbucket/repositories/:workspace/:repo/branches | List branches |
Last updated on