设置频道基本图片
接口URL
https://api.polyv.net/live/v3/channel/setting/set-basic-img
接口说明
1、接口用于设置频道基础图片
2、接口支持https
支持格式
JSON
请求方式
POST
请求数限制
TRUE
请求参数
参数名
必选
类型
说明
appId
是
string
管理员的appId
timestamp
是
long
13位当前时间戳
sign
是
string
签名值
channelId
是
int
频道ID
splashImg
否
string
频道引导图地址
coverImg
否
string
频道图标地址
splashEnabled
否
string
频道引导图开关
响应成功JSON示例:
{
"code": 200,
"status": "success",
"message": "",
"data":""
}
响应失败JSON示例:
未输入appId
{
"code": 400,
"status": "error",
"message": "appId is required.",
"data": ""
}
appId不正确
{
"code": 400,
"status": "error",
"message": "application not found.",
"data": ""
}
时间戳错误
{
"code": 400,
"status": "error",
"message": "invalid timestamp.",
"data": ""
}
签名错误
{
"code": 403,
"status": "error",
"message": "invalid signature.",
"data": ""
}
字段说明
参数名
说明
code
响应代码,成功为200,失败为400,签名错误为401,异常错误500
status
成功为success,失败为error
message
错误时为错误提示消息
data
成功响应信息
Last updated
Was this helpful?