Upload an app version

Upload a zip bundle as a new version. The bundle must contain index.html and runtype.app.json at the root. Uploading does not change what is served; call activate to deploy.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Request

The app bundle: either a raw zip archive (application/zip) or JSON file maps (application/json) that the API zips server-side.

filesmap from strings to stringsRequired

Text files for the bundle, path (relative to bundle root) to content.

filesBase64map from strings to stringsOptional

Binary files for the bundle, path to base64-encoded content.

Response

Version uploaded
appIdstring
bundleHashstring
createdAtstring
createdBystring
fileCountdouble
idstring
manifestobject
sizeBytesdouble
statusenum
versionNumberdouble

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error