Skip to main content
POST
/
channels
{
  "id": "<string>",
  "name": "<string>",
  "channel_type": "Public",
  "metadata": {},
  "is_archived": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

ユーザーがログインすると発行されるsession_idをBearerトークンとして指定します

Body

application/json

チャンネル作成時のリクエストボディ

name
string
required

チャンネル名

Required string length: 1 - 200
channel_type
enum<string>
required

公開チャンネルか秘密チャンネルか

Available options:
Public,
Secret
id
string

チャンネルID(任意のIDを指定できます。指定しない場合は自動生成されます)

Required string length: 1 - 100
metadata
object | null

任意の追加メタデータ

Response

チャンネルの作成成功

name
string
required

チャンネル名

Required string length: 1 - 200
channel_type
enum<string>
required

公開チャンネルか秘密チャンネルか

Available options:
Public,
Secret
is_archived
boolean
required

アーカイブ済みかどうか

created_at
string<date-time>
required

作成日時

updated_at
string<date-time>
required

更新日時

id
string

チャンネルID

Required string length: 1 - 100
metadata
object | null

任意の追加メタデータ