API referenceUpdates
Create a channel
POST
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
project*stringProject slug
application/json- body
name*stringMatch
^[a-z0-9]+(?:-[a-z0-9]+)*$Length
1 <= length <= 48environmentId*stringprotocols*array<>Items
1 <= itemsCreated
application/json- response
id*stringprojectId*stringname*stringenvironmentId*stringenvironmentSlug*stringprotocols*array<>signedOnly*booleancurrentRelease*|nullreleaseCount*numberconnect*createdAt*stringcurl -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"}