文档
测试

根据id获取帖子评论(米哈游数据)

GET
https://bbs-api.mihoyo.com/post/wapi/getPostReplies?gids=2&is_hot=true&post_id=11622601&size=20

接口描述

米哈游的评论和本地的评论,请求字段都是 post_id , 分页都为size(可选),可拼接渲染

请求参数

参数名
类型
描述
必填
gids
int
示例:2
必填
is_hot
string
示例:true
必填
post_id
int
示例:11622601
必填
size
int
示例:20
必填

响应参数

参数名
类型
描述
必填
retcode
int
示例:0
必填
message
string
示例:OK
必填
data
object
数据字典
必填
list
array
评论列表
必填
reply
object
帖子下的 一级评论
必填
game_id
int
示例:2
必填
post_id
string
帖子id —— 示例:11622601
必填
reply_id
string
示例:1456088474362966016
必填
uid
string
示例:192986534
必填
r_uid
string
示例:0
必填
content
string
一级评论内容 —— 示例:<p>一袋米要扛几楼_(星穹米游姬_哭唧唧)_(星穹米游姬_哭唧唧)_(星穹米游姬_哭唧唧)</p><div class="ql-image"><div class="ql-image-box"><img src="https://upload-bbs.mihoyo.com/upload/2021/11/04/192986534/c2b89cabd8f56c7e70d677dd6823d7a9_7514117280271165571.jpg"><div class="ql-blot-del"></div></div></div>
必填
f_forum_id
int
示例:28
必填
f_reply_id
string
示例:0
必填
floor_id
int
示例:37
必填
is_deleted
int
示例:0
必填
delete_src
int
示例:0
必填
created_at
int
评论发布时间 —— 示例:1635993519
必填
updated_at
int
示例:1635993521
必填
deleted_at
int
示例:2288912640
必填
struct_content
string
示例:[{"insert":"一袋米要扛几楼_(星穹米游姬_哭唧唧)_(星穹米游姬_哭唧唧)_(星穹米游姬_哭唧唧)\n"},{"insert":{"image":"https://upload-bbs.mihoyo.com/upload/2021/11/04/192986534/c2b89cabd8f56c7e70d677dd6823d7a9_7514117280271165571.jpg"},"attributes":{"height":1668,"width":2388,"size":524223}}]
必填
structured_content_rows
array
数据列表
必填
is_top
boolean
示例:false
必填
has_block_word
boolean
示例:false
必填
user
object
发起一级评论的用户
必填
uid
string
示例:192986534
必填
nickname
string
示例:梦见怀春少女
必填
introduce
string
示例:
必填
avatar
string
示例:100012
必填
gender
int
示例:0
必填
certification
object
数据字典
必填
type
int
示例:0
必填
label
string
示例:
必填
level_exp
object
数据字典
必填
level
int
示例:11
必填
exp
int
示例:16037
必填
avatar_url
string
示例:https://img-static.mihoyo.com/communityweb/upload/52de23f1b1a060e4ccaa8b24c1305dd9.png
必填
pendant
string
示例:https://upload-bbs.mihoyo.com/upload/2020/08/19/3435a14ebb7af0a70cfe07c53a921b30_1956186495542818369.png
必填
stat
object
评论点赞等数量
必填
reply_num
int
必填
like_num
int
点赞数 —— 示例:933
必填
sub_num
int
评论数量 —— 示例:276
必填
dislike_num
int
点踩数 —— 示例:3
必填
self_operation
object
数据字典
必填
attitude
int
示例:0
必填
reply_vote_attitude
int
示例:0
必填
master_status
object
数据字典
必填
is_official_master
boolean
示例:false
必填
is_user_master
boolean
示例:false
必填
images
array
评论中的图片
必填
url
string
示例:https://upload-bbs.mihoyo.com/upload/2021/11/04/192986534/c2b89cabd8f56c7e70d677dd6823d7a9_7514117280271165571.jpg
必填
height
int
示例:1668
必填
width
int
示例:2388
必填
format
string
示例:jpg
必填
size
string
示例:524223
必填
image_id
string
示例:30075341
必填
entity_type
string
示例:IMG_ENTITY_REPLY
必填
entity_id
string
示例:1456088474362966016
必填
sub_replies
array
二级评论
必填
reply
object
二级评论内容为 在下方的content
必填
game_id
int
示例:2
必填
post_id
string
帖子id —— 示例:11622601
必填
reply_id
string
示例:1456089208011386880
必填
uid
string
示例:71518032
必填
r_uid
string
示例:192986534
必填
content
string
二级评论内容 示例:一袋米要扛2楼
必填
f_forum_id
int
示例:28
必填
f_reply_id
string
示例:1456088474362966016
必填
floor_id
int
示例:37
必填
is_deleted
int
示例:0
必填
delete_src
int
示例:0
必填
created_at
int
二级评论时间 —— 示例:1635993694
必填
updated_at
int
示例:1635993694
必填
deleted_at
int
示例:2288912640
必填
struct_content
string
示例:
必填
structured_content_rows
array
数据列表
必填
is_top
boolean
示例:false
必填
has_block_word
boolean
示例:false
必填
user
object
发起二级评论的用户
必填
uid
string
示例:71518032
必填
nickname
string
示例:嘤樱嘤八重樱
必填
introduce
string
示例:
必填
avatar
string
示例:100138
必填
gender
int
示例:0
必填
certification
object
数据字典
必填
type
int
示例:0
必填
label
string
示例:
必填
level_exp
object
数据字典
必填
level
int
示例:9
必填
exp
int
示例:10062
必填
avatar_url
string
示例:https://img-static.mihoyo.com/communityweb/upload/0e16987863d21f5344d4d1d85af4f665.png
必填
pendant
string
示例:https://upload-bbs.mihoyo.com/upload/2020/08/19/3435a14ebb7af0a70cfe07c53a921b30_1956186495542818369.png
必填
stat
object
数据字典
必填
reply_num
int
示例:0
必填
like_num
int
点赞量 —— 示例:34
必填
sub_num
int
示例:0
必填
dislike_num
int
点踩量 —— 示例:0
必填
self_operation
object
数据字典
必填
attitude
int
示例:0
必填
reply_vote_attitude
int
示例:0
必填
master_status
object
数据字典
必填
is_official_master
boolean
示例:false
必填
is_user_master
boolean
示例:false
必填
images
array
数据列表
必填
sub_replies
array
数据列表
必填
is_lz
boolean
示例:false
必填
sub_reply_count
int
示例:0
必填
r_user
object
数据字典
必填
uid
string
示例:192986534
必填
nickname
string
示例:梦见怀春少女
必填
introduce
string
示例:
必填
avatar
string
示例:100012
必填
gender
int
示例:0
必填
certification
object
数据字典
必填
type
int
示例:0
必填
label
string
示例:
必填
level_exp
object
数据字典
必填
level
int
示例:11
必填
exp
int
示例:16037
必填
avatar_url
string
示例:https://img-static.mihoyo.com/communityweb/upload/52de23f1b1a060e4ccaa8b24c1305dd9.png
必填
pendant
string
示例:https://upload-bbs.mihoyo.com/upload/2020/08/19/3435a14ebb7af0a70cfe07c53a921b30_1956186495542818369.png
必填
r_reply
object
示例:null
必填
r_post
object
示例:null
必填
is_lz
boolean
示例:false
必填
sub_reply_count
int
回复量 —— 示例:276
必填
r_user
object
示例:null
必填
r_reply
object
示例:null
必填
r_post
object
示例:null
必填
last_id
string
示例:20
必填
is_last
boolean
示例:false
必填
post_owner_uid
string
作者id —— 示例:75276545
必填