根据过滤条件查询评论数。
Request
GET /api/activity/comment/comment_count/
Request Parameters
| Name | Value | Description | Notes |
|---|---|---|---|
| target_type | enum | 评论目标对象类型 | Comment.TargetType |
| meta | JSON | 评论对象的meta属性包含有此参数内容 | 目前TargetType.Dimzou_Reword的评论对象meta为:{"node_id": node_id, "paragraph_id": paragraph_id}其他类型的meta为空对象。 |
Example
GET /api/activity/comment/comment_count/?target_type=400&meta={%22node_id%22%3A%208553}Response
200
返回总评论数
{
"data": {
"count": 7
}
}