v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBApps
Deploy an App
Queue a build+deploy for an App, creating a new version.
Full deploy workflow:
- POST /{app_id}/deploy/upload-url → get a presigned S3 PUT URL
- Upload your built dist/ zip to that URL
- Call this endpoint with the returned bundle_s3_key
- Optionally include source_files (path→content map) for version diffing
- Poll GET /{app_id}/deploys/{deploy_id} until status is complete
Edit-and-redeploy workflow:
- GET /{app_id}/versions/{version}/download → download the bundle zip
- Edit files locally
- Re-zip and upload via upload-url → deploy (creates a new version)
- GET /{app_id}/versions/{old}/diff/{new} to review changes
Each deploy creates an immutable version record. Use POST /{app_id}/versions/{n}/restore for instant rollback to any previous version.
post/v1/apps/{app_id}/deploy
Path parameters
app_idstring required
Request body
Response
Successful Response