接口:互动工具------问答统计

  • 互动工具------问答统计

请求URL:

GET/v2/interact/question-stat

参数:

参数名 是否必须 类型 说明
activity_id int 活动ID
app_id string 用户的appId
signed_at int 时间戳
sign string 计算得到的签名

返回示例:

正确时返回:

{
    "code": 200,
    "msg": "",
    "data": {
        "question_stat": 0,
        "answer_stat": 0
    },
    "request_id": "61b09ef1-24da-43ec-9646-2214e693"
}

错误时返回:

{
    "code": 201,
    "msg": "invalid appid",
    "data": {}
}

返回参数说明:

公共相应参数,详细内容请参考[返回结果]

返回数据如下:

{
    "code": 200,
    "msg": "",
    "data": {
        "question_stat": 0,    //问题总数
        "answer_stat": 0        //回答总数
    },
    "request_id": "61b09ef1-24da-43ec-9646-2214e693"
}

备注:

  • 更多返回错误代码请看首页的错误代码描述