:::danger 免责声明:请合理使用Box3API,如果因为使用不当对您和Box3造成损失,本文档开发者不承担任何法律责任! :::

API接口

:::tips https://box3.codemao.cn/api/api/comment-server-rpc :::

请求类型

:::tips POST :::

请求对象(说明在代码里)

  1. {
  2. "type": "list",
  3. "data": {
  4. "commentId": 25766,//要请求的评论ID
  5. "limit": 10,//选出前10条回复
  6. "offset": 0//抵消前面的40条(0为不抵消)
  7. }
  8. }

返回数据(说明在代码里)

  1. {
  2. "type": "success",//未知
  3. "data": {
  4. "type": "list",//未知
  5. "data": {
  6. "count": 1,//数量
  7. "rows": [
  8. {
  9. "avatar": "Qmd8iDwT4ccsxucPHZVQncvF3dPwFD85hKSnP4JDVg2g7T",//回复者头像
  10. "base_comment_id": 671806,//回复的评论ID
  11. "comment": "NEMO也有的啊",//回复内容
  12. "created_at": "2022-07-12T10:09:08.713Z",//回复时间
  13. "displayname": "小宏XeLa",//回复者昵称
  14. "id": 1113317,//未知
  15. "is_like": false,//自己是否赞了该回复
  16. "like_count": 0,//该回复点赞数量
  17. "reply_count": 0,//该回复被再次回复的数量
  18. "reply_displayname": "小哈巴",//被回复的评论者昵称
  19. "reply_to": 785552,//被回复的评论ID
  20. "reply_user_id": 2470048,//被回复的评论者UID
  21. "tag": 0,//回复者标签(0为普通用户,1为官方)
  22. "user_id": 4075204,//回复者UID
  23. }
  24. ]
  25. }
  26. }
  27. }