Skip to main content
POST
Upload an app release bundle

Authorizations

Authorization
string
header
required

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

Path Parameters

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

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

Body

application/json
sourceSha
string
required

Commit of the app’s source repository that the bundle was built from. An upload is stored per commit and bundle.

Pattern: ^[0-9a-f]{7,64}$/i
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.