チャンネル作成API
    • PDF

    チャンネル作成API

    • PDF

    Article Summary

    チャンネル作成API

    チャンネルを作成します。

    Request

    • Method : POST
    • URI : /channel
    POST
    url : https://dashboard-api.gamechat.naverncp.com/v1/api/project/{projectId}/channel
    Header : 'x-api-key: {API Key}'
    Header : 'content-type: application/json'
    data: '{
        "name":"#All"
    }'
    
    HeaderTypeRequiredDescription
    x-api-keyStringOダッシュボード > 設定 > プロジェクトの設定 > API Key
    AttributeTypeRequiredDescription
    projectIdStringOプロジェクトID(ダッシュボード > 設定 > プロジェクトの設定 > プロジェクトID)
    nameStringOチャンネル名
    translationBooleanX翻訳の可不可
    uniqueIdStringX任意に指定できる固有ID

    Response

    {
        "status": 1,
        "result": "1a51af0d-f464-4440-8ad6-ce69e0bdaba8"
    }
    
    AttributeTypeDescription
    statusInt結果値(1:成功、失敗はエラーコードを参考)
    resultString作成されたチャンネルID

    Error code

    CodeDescription
    -100必須パラメータがない場合

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.