Create Channel
Create a new deployment channel for organizing application releases.
warning
After creating the first channel, the channel
field becomes required for all subsequent operations.
Endpoint
POST /channel/create
Authentication
Header | Value |
---|---|
Authorization | Bearer <jwt_token> |
Request Body
The request uses multipart/form-data
format with the following fields:
Field | Type | Required | Description |
---|---|---|---|
channel | string | ✅ | The name of the channel to be created (e.g., stable, beta, nightly) |
Example Request
curl --location 'http://localhost:9000/channel/create' \
--header 'Authorization: Bearer <jwt_token>' \
--form 'data="{\"channel\":\"nightly\"}"'
Response
Success Response (200 OK)
{
"createChannelResult.Created": "641459ffb8360d74164e7e3c"
}
Response Fields
Field | Type | Description |
---|---|---|
createChannelResult.Created | string | The unique identifier (ID) of the created channel |
Notes
- Channels help organize different types of releases (production, testing, development)
- Once created, channels can be used when uploading application versions