Skip to main content
POST
Upload a release bundle

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Body

application/json
appId
string
required

The app the bundle is for.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
sourceSha
string
required

Full commit ID, in lowercase, of the app’s source repository commit the bundle was built from.

Pattern: ^(?:[0-9a-f]{40}|[0-9a-f]{64})$
bundleSha256
string
required

Lowercase hex SHA-256 of the release bundle file.

Pattern: ^[0-9a-f]{64}$
bundleSizeBytes
integer
required

Exact size of the release bundle file in bytes, at most 70 MiB.

Required range: 1 <= x <= 73400320

Response

Where to upload the bundle, or that it is already stored.

uploaded
boolean
required

True when this bundle is already stored for this commit; upload is then null and you can deploy it.

upload
object | null
required

Where to upload the bundle, or null when it is already stored.