チャネルの修正
    • PDF

    チャネルの修正

    • PDF

    Article Summary

    チャネルの詳細情報を修正します。

    リクエスト

    • Method : PUT
    • URI : /channel
    PUT
    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
    limitIntXチャネル内の最大参加者数(0の場合、制限なし)

    レスポンス

    {
        "status": 1,
        "result": "1a51af0d-f464-4440-8ad6-ce69e0bdaba8"
    }
    
    AttributeTypeDescription
    statusInt結果値(1: 成功、失敗は Error codeを参考)
    resultString修正するチャネル ID

    エラーコード

    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.