Table of Contents
7.6.1 我的提问数量计总【基础探测通过,待数据联调】
GET /tieup/api/v1/me/questions/counts
鉴权:需要 Authorization: Bearer <access_token>。
查询参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
artist_id |
integer | 否 | 偶像 ID;不传则统计当前粉丝全部提问和追问 |
响应字段:
| 字段 | 类型 | 说明 |
|---|---|---|
answered_count |
integer | 已回答数量,统计 tieup_question.status = 2 |
pending_count |
integer | 待回答数量,统计 tieup_question.status = 1 |
refunded_count |
integer | 已退款数量,统计 tieup_question.status = 4 |
响应示例:
{
"code": 200,
"message": "成功",
"data": {
"answered_count": 8,
"pending_count": 3,
"refunded_count": 1
}
}
统计口径:
- 统计当前登录粉丝自己的提问记录,包含主提问和追问,口径与 7.6 我的提问列表一致。
- 传入
artist_id时,仅统计该粉丝对指定偶像的提问和追问;不传时统计当前粉丝全部提问和追问。 - 本接口只返回待回答、已回答、已退款三类数量;已拒绝和已取消状态不单独返回。