Deployments
Deployments represent a specific build and release of an application. Each deploy creates a new deployment record with build logs, status, and metadata.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v1/applications/:appId/deployments | List deployments for an application |
POST | /api/v1/applications/:appId/deployments/sync | Check if a new deploy is needed (git changes) |
GET | /api/v1/deployments/:id | Get deployment by ID |
GET | /api/v1/deployments/:id/logs | Get deployment logs |
GET | /api/v1/deployments/:id/runtime-logs | Get deployment runtime logs |
GET | /api/v1/deployments/:id/build-logs | Get build logs |
To trigger a new deployment, use the application lifecycle endpoint:
curl -X POST /api/v1/applications/:id/deploy \
-H "x-lnchr-key: <key>"To rollback to a previous deployment:
curl -X POST /api/v1/applications/:id/rollback \
-H "x-lnchr-key: <key>"Last updated on