Get Git Config
200 OK
null if no repository is connected.
Connect a Repository
| Field | Type | Required | Description |
|---|---|---|---|
repo_url | string | Yes | Git repository URL (HTTPS) |
branch | string | No | Branch to deploy (default: main) |
auth_token | string | No | Personal access token for private repos |
build_command | string | No | Custom build command (overrides auto-detection) |
auto_deploy | boolean | No | Deploy on push (default: true) |
201 Created
Returns the git config object.
Errors:
| Code | Reason |
|---|---|
400 | Invalid URL, pod not running |
409 | Repository already connected |
Update Settings
200 OK
Disconnect
200 OK
Trigger Deploy
202 Accepted
List Deployments
| Query Param | Type | Default | Description |
|---|---|---|---|
limit | int | 10 | Max deployments to return |
200 OK
deploying, success, failed, rolled_back
Trigger types: push (webhook), manual, rollback
Get Deployment Detail
200 OK
Returns a single deployment object with a build_log field containing the full build output:
Rollback
| Field | Type | Required | Description |
|---|---|---|---|
deployment_id | string | No | Target deployment ID (defaults to previous deployment) |
202 Accepted
Returns a new deployment object with trigger: "rollback".
Webhooks
These endpoints are public (no auth required). They receive push events from Git providers.[skip deploy] in the message are ignored.