v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Apps

Connect a GitHub repository

Connect a GitHub repository for automatic deploys on push.

After connecting, pushes to the configured branch will trigger a build + deploy via the GitHub App webhook.

post/v1/apps/{app_id}/connect-repo

Path parameters

app_idstring required

Request body

repo_urlstring required

GitHub repository URL

branchstring

Branch to deploy from

github_installation_idinteger nullable

GitHub App installation ID

Response

Successful Response

{"stackTrail":"paths:/v1/apps/{app_id}/connect-repo:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}