Liftbay
API referenceUpdates

Publish a signed update

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

Step 2: every signature is checked against the project's signing certificate, then the release becomes active.

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

draftId*string

Request Body

application/json
  1. body
signatures*

Base64 signature per item id

Response Body

Published

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/sign/string" \  -H "Content-Type: application/json" \  -d '{    "signatures": {      "property1": "string",      "property2": "string"    }  }'
{  "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"}