Liftbay
API referenceUpdates

Publish an update

POST
/v1/orgs/{org}/projects/{project}/channels/{channel}/releases

Upload files first with POST /updates/files (only missing ones need uploading). Publishing verifies every file against its hash, builds the per-protocol packages, makes this the active release and supersedes the previous one.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

channel*string

Channel name

Request Body

application/json
  1. body
message*string
Length1 <= length <= 500
runtimeVersion*string

expo-updates runtime version, or the fingerprint for fingerprint strategies

Length1 <= length <= 100
targetAppVersion?|

Semver range of binary versions (CodePush, hot-updater app-version strategy), e.g. 1.5.x

Lengthlength <= 100
mandatory?boolean
Defaultfalse
rolloutPercent?integer
Range1 <= value <= 100
Default100
appConfig?|null
gitRef?|
Lengthlength <= 255
commit?|
Lengthlength <= 64
fileSignatures?
bundles*

Response Body

Published. On Free past the monthly limit, Liftbay-Notice carries the emergency-publish upgrade prompt.

application/json
  1. response
id*string
channelId*string
platforms*array<>
runtimeVersion*string
targetAppVersion*string|null
mandatory*boolean
message*string
gitRef*string|null
commit*string|null
rolloutPercent*number
status*ReleaseStatus
Value in"active""superseded""rolled_back"
author*string
installs*number
failures*number
bundles*array<>
signed*boolean
createdAt*string
curl -X POST "https://example.com/v1/orgs/string/projects/string/channels/string/releases" \  -H "Content-Type: application/json" \  -d '{    "message": "string",    "runtimeVersion": "string",    "bundles": {}  }'
{  "id": "string",  "channelId": "string",  "platforms": [    "ios"  ],  "runtimeVersion": "string",  "targetAppVersion": "string",  "mandatory": true,  "message": "string",  "gitRef": "string",  "commit": "string",  "rolloutPercent": 0,  "status": "active",  "author": "string",  "installs": 0,  "failures": 0,  "bundles": [    {      "platform": "ios",      "updateId": "string",      "fileCount": 0,      "sizeBytes": 0    }  ],  "signed": true,  "createdAt": "string"}