Set Channel Basic Images
Updated: 2022-05-23 17:54:01
Interface URL
https://api.polyv.net/live/v3/channel/setting/set-basic-img
Interface Description
1、接口用于设置频道基础图片
2、接口支持https
Supported Format
JSON
Request Method
POST
Request Limit
TRUE
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| appId | Yes | string | Admin's appId |
| timestamp | Yes | long | 13-digit current timestamp |
| sign | Yes | string | Signature value |
| channelId | Yes | int | Channel ID |
| splashImg | No | string | Channel splash image URL |
| coverImg | No | string | Channel icon URL |
| splashEnabled | No | string | Channel splash image toggle |
Successful Response JSON Example:
{
"code": 200,
"status": "success",
"message": "",
"data":""
}
Failed Response JSON Examples:
No appId provided
{
"code": 400,
"status": "error",
"message": "appId is required.",
"data": ""
}
Incorrect appId
{
"code": 400,
"status": "error",
"message": "application not found.",
"data": ""
}
Timestamp error
{
"code": 400,
"status": "error",
"message": "invalid timestamp.",
"data": ""
}
Signature error
{
"code": 403,
"status": "error",
"message": "invalid signature.",
"data": ""
}
Field Description
| Parameter | Description |
|---|---|
| code | Response code: 200 for success, 400 for failure, 401 for signature error, 500 for exception error |
| status | "success" for success, "error" for failure |
| message | Error message when an error occurs |
| data | Successful response data |
