活动/红包列表

获取直播间已配置活动列表

请求路径:/live-platform/v3/live/platform/im/activity/list

请求方式:GET

参数要求:

名称 类型 是否必需 描述
liveId String 直播间ID
type int 1:口令活动,2:群发活动

请求示例:

GET  /live-platform/v3/live/platform/im/activity/list?liveId=123456&type=1

返回数据:

{
    "code": 1,
    "data": [
        {
            "activity_id": 16,
            "name": "测试口令",
            "keyword": "测试测试测试",
            "type": 1,
            "status": 0,    //0为停用,1为启用
            "ext": {
                "web_url": "https://baidu.com",
                "mobile_url": "https://kaikeba.com"
            }
        },
        {
            "activity_id": 19,
            "name": "测试口令",
            "keyword": "今晚打老虎",
            "type": 1,
            "status": 1,
            "ext": {
                "web_url": "https://baidu.com",
                "mobile_url": "https://kaikeba.com"
            }
        }
    ],
    "msg": ""
}

results matching ""

    No results matching ""