Skip to main content
POST
Deploy a new version

Authorizations

Authorization
string
header
required

An API key from frogbot deploy's sign-in, /api/cli/device/token, or the API keys page.

Path Parameters

app
string
required

The app's slug, such as deals, or its id.

Body

multipart/form-data
source
string
required

The app as a .tar.gz.

keys
string

Environment variables sealed to GET /api/cli/sealing-key, as JSON.

data
string

true on a first deploy that brings its database; replace, from an owner, swaps the live data for the one uploaded with replace: true.

Response

OK

deploymentId
string
required

A document id.

keys
object