修改频道
修改频道上的详细信息。
请求
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",
}'
Header
Type
Required
Description
x-api-key
String
O
仪表盘 > 设置 > 项目设置 > API Key
Attribute
Type
Required
Description
projectId
String
O
项目ID(仪表盘 > 设置 > 项目设置 > 项目ID)
name
String
O
频道名称
translation
Boolean
X
是否可翻译
uniqueId
String
X
可任意指定的固有ID
limit
Int
X
频道内最大参与人数(为0时没有限制)
响应
{
"status": 1,
"result": "1a51af0d-f464-4440-8ad6-ce69e0bdaba8"
}
Attribute
Type
Description
status
Int
结果值(1:成功,失败参考Error code)
result
String
修改的频道ID
错误代码
Code
Description
-100
无必要参数时
Last updated