Skip to Content

Git Providers

Connect GitHub, GitLab, or Bitbucket for git-based deployments and auto-deploy on push.

List Providers

MethodPathDescription
GET/api/v1/settings/git-providersList configured providers

GitHub

MethodPathDescription
POST/api/v1/settings/git-providers/githubConfigure GitHub
DELETE/api/v1/settings/git-providers/githubRemove GitHub
GET/api/v1/settings/git-providers/github/repositoriesList repositories
GET.../github/repositories/:owner/:repo/branchesList branches
GET.../github/repositories/:owner/:repo/tree/:branchGet file tree
GET.../github/repositories/:owner/:repo/contentsGet directory contents
GET.../github/repositories/:owner/:repo/contents/*Get nested contents
GET.../github/repositories/:owner/:repo/file/*Get file content

GitLab

MethodPathDescription
POST/api/v1/settings/git-providers/gitlabConfigure GitLab
DELETE/api/v1/settings/git-providers/gitlabRemove GitLab
GET/api/v1/settings/git-providers/gitlab/projectsList projects
GET.../gitlab/projects/:projectId/branchesList branches
GET.../gitlab/projects/:projectId/tree/:branchGet file tree

Bitbucket

MethodPathDescription
POST/api/v1/settings/git-providers/bitbucket/credentialsSave app password
POST/api/v1/settings/git-providers/bitbucket/oauthOAuth token exchange
DELETE/api/v1/settings/git-providers/bitbucketRemove Bitbucket
GET/api/v1/settings/git-providers/bitbucket/workspacesList workspaces
GET.../bitbucket/repositoriesList repositories
GET.../bitbucket/repositories/:workspace/:repo/branchesList branches
Last updated on