Liftbay
API referenceUpdates

Create a channel

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

Authorization

cookielb_session<token>

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

Path Parameters

org*string

Organization slug

project*string

Project slug

Request Body

application/json
  1. body
name*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length1 <= length <= 48
environmentId*string
protocols*array<>
Items1 <= items

Response Body

Created

application/json
  1. response
id*string
projectId*string
name*string
environmentId*string
environmentSlug*string
protocols*array<>
signedOnly*boolean
currentRelease*|null
releaseCount*number
connect*
createdAt*string
curl -X POST "https://example.com/v1/orgs/string/projects/string/channels" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "environmentId": "string",    "protocols": [      "expo"    ]  }'
{  "id": "string",  "projectId": "string",  "name": "string",  "environmentId": "string",  "environmentSlug": "string",  "protocols": [    "expo"  ],  "signedOnly": true,  "currentRelease": {    "id": "string",    "message": "string",    "runtimeVersion": "string",    "rolloutPercent": 0,    "createdAt": "string"  },  "releaseCount": 0,  "connect": {    "expo": {      "url": "string",      "channelHeader": "string"    },    "codepush": {      "serverUrl": "string",      "deploymentKeys": {        "ios": "string",        "android": "string"      }    },    "hotUpdater": {      "baseURL": "string",      "channel": "string"    }  },  "createdAt": "string"}