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.
Path parameters
Request body
Response
Successful Response
Changes
Changed in 2 of the 28 revisions of this API.3
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the request property
messagebecame optionalrequest-property-became-optional
- ○
the
messagerequest property default valueDeploy via bundle uploadwas addedrequest-property-default-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○