Git
GitHub bağlantısı, derlemeler ve dal önizlemeleri.
Bu sayfada
Kavramlar: Git ve CI
Uç özetleri OpenAPI belgesinden gelir ve İngilizcedir.
GET/v1/projects/{project}/git
Git connection and settings: GitHub repository, production branch, automatic deploys and the direct push address
- İşlem (MCP aracı)
getProjectGit- Kimlik
- API anahtarı (pfa_…)OAuth belirteci (pfo_…)
Parametreler
Yanıtlar
İlgili hata kodları
Bu ucun ve API’nin bu bölümünün döndürdüğü hata kodları. Her biri ne olduğunu ve ne yapılacağını anlatır.
PUT/v1/projects/{project}/git
Connect a GitHub repository (from the team's installations) or change branch settings. Turning on automatic production deploys needs versions.promote
- İşlem (MCP aracı)
setProjectGit- Kimlik
- API anahtarı (pfa_…)OAuth belirteci (pfo_…)
Parametreler
İstek gövdesi
application/jsonobjectZorunlu
Yanıtlar
İlgili hata kodları
Bu ucun ve API’nin bu bölümünün döndürdüğü hata kodları. Her biri ne olduğunu ve ne yapılacağını anlatır.
DELETE/v1/projects/{project}/git
Disconnect the GitHub repository; versions and branch previews stay
- İşlem (MCP aracı)
disconnectProjectGit- Kimlik
- API anahtarı (pfa_…)OAuth belirteci (pfo_…)
Parametreler
Yanıtlar
İlgili hata kodları
Bu ucun ve API’nin bu bölümünün döndürdüğü hata kodları. Her biri ne olduğunu ve ne yapılacağını anlatır.
GET/v1/projects/{project}/git/builds
The last 50 Git builds
- İşlem (MCP aracı)
listGitBuilds- Kimlik
- API anahtarı (pfa_…)OAuth belirteci (pfo_…)
Parametreler
Yanıtlar
İlgili hata kodları
Bu ucun ve API’nin bu bölümünün döndürdüğü hata kodları. Her biri ne olduğunu ve ne yapılacağını anlatır.
POST/v1/projects/{project}/git/builds/{build}/approve
Approve a pull request build from a fork; it gets the project's environment variables
- İşlem (MCP aracı)
approveGitBuild- Kimlik
- API anahtarı (pfa_…)OAuth belirteci (pfo_…)
Parametreler
Yanıtlar
İlgili hata kodları
Bu ucun ve API’nin bu bölümünün döndürdüğü hata kodları. Her biri ne olduğunu ve ne yapılacağını anlatır.
GET/v1/projects/{project}/branches
Branch preview addresses and the version each one serves
- İşlem (MCP aracı)
listProjectBranches- Kimlik
- API anahtarı (pfa_…)OAuth belirteci (pfo_…)
Parametreler
Yanıtlar
İlgili hata kodları
Bu ucun ve API’nin bu bölümünün döndürdüğü hata kodları. Her biri ne olduğunu ve ne yapılacağını anlatır.