Liftbay
API referenceUpdates

Prepare a signed update

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

Step 1 of publishing with your update signing key. Same body as publishing. Returns the exact bytes to sign per platform and client (expo-updates manifest and rollback directive, hot-updater bundle hash, CodePush JWT). Sign each with RSA-SHA256 and send them to step 2 within an hour. Your private key never leaves your machine.

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

OK

application/json
  1. response
draftId*string
expiresAt*string
keyId*string
items*array<>
curl -X POST "https://example.com/v1/orgs/string/projects/string/channels/string/releases/sign" \  -H "Content-Type: application/json" \  -d '{    "message": "string",    "runtimeVersion": "string",    "bundles": {}  }'
{  "draftId": "string",  "expiresAt": "string",  "keyId": "string",  "items": [    {      "id": "string",      "platform": "ios",      "kind": "expo-manifest",      "data": "string"    }  ]}