Liftbay
API referenceUpdates

Change rollout percentage

PATCH
/v1/orgs/{org}/projects/{project}/channels/{channel}/releases/{release}/rollout

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

release*string

Request Body

application/json
  1. body
rolloutPercent*integer
Range1 <= value <= 100

Response Body

OK

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 PATCH "https://example.com/v1/orgs/string/projects/string/channels/string/releases/string/rollout" \  -H "Content-Type: application/json" \  -d '{    "rolloutPercent": 1  }'
{  "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"}