API referenceUpdates
Publish an update
POST
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.
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
project*stringProject slug
channel*stringChannel name
application/json- body
message*stringLength
1 <= length <= 500runtimeVersion*stringexpo-updates runtime version, or the fingerprint for fingerprint strategies
Length
1 <= length <= 100targetAppVersion?|Semver range of binary versions (CodePush, hot-updater app-version strategy), e.g. 1.5.x
Length
length <= 100mandatory?booleanDefault
falserolloutPercent?integerRange
1 <= value <= 100Default
100appConfig?|nullgitRef?|Length
length <= 255commit?|Length
length <= 64fileSignatures?bundles*Published. On Free past the monthly limit, Liftbay-Notice carries the emergency-publish upgrade prompt.
application/json- response
id*stringchannelId*stringplatforms*array<>runtimeVersion*stringtargetAppVersion*string|nullmandatory*booleanmessage*stringgitRef*string|nullcommit*string|nullrolloutPercent*numberstatus*ReleaseStatusValue in
"active""superseded""rolled_back"author*stringinstalls*numberfailures*numberbundles*array<>signed*booleancreatedAt*stringcurl -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"}