Skip to main content
POST
Create a release, which becomes the Deployment Group's current release

Authorizations

Authorization
string
header
required

A user API token, or a product API key created in a product's settings.

A product API key only works on the routes for its own product, under /api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier} for that product's devices. What it may do there is decided by the role it holds, the same way a member's role decides what they may do.

Path Parameters

org_name
string
required

Organization Name

product_name
string
required

Product Name

name
string
required

Deployment Group Name

Body

application/json

Release creation request body

POST body for creating a release, which becomes the deployment group's current release

firmware
string
required

Firmware UUID

archive
string

Archive UUID. Left out, the release has no archive, whatever the previous release had.

connecting_code
string

Elixir run on a device when it connects, as long as this release is the one it is sent

connecting_code_mode
enum<string>
default:last

Where the release's connecting code runs relative to the deployment group's: "first" (before it), "last" (after it) or "override" (instead of it)

Available options:
first,
last,
override
description
string
Maximum string length: 100
notes
string
Maximum string length: 1000
required
boolean
default:false

Devices that have not reached a required release are updated to it before any newer release

Response

Release response

A single release

data
DeploymentRelease · object
Example: