comment
    comment
    • 创建评论
      POST
    • 删除评论
      DELETE
    • 查询评论
      GET

      查询评论

      开发中
      GET
      /api/v1/comment

      请求参数

      Query 参数

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/api/v1/comment?user_id&comment_id&module&resource_id&order&score&page_size&present_reply_num&page_num'

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
          "total": 0,
          "comments": [
              {
                  "user_id": "string",
                  "username": "string",
                  "avatar": "string",
                  "content": "string",
                  "module": "string",
                  "resource_id": "string",
                  "comment_time": "string",
                  "star_num": "string",
                  "reply_num": "string",
                  "status": "string",
                  "replies": [
                      {
                          "user_id": "string",
                          "username": "string",
                          "avatar": "string",
                          "content": "string",
                          "module": "string",
                          "resource_id": "string",
                          "comment_time": "string",
                          "star_num": "string",
                          "reply_num": "string"
                      }
                  ]
              }
          ]
      }
      修改于 2025-08-05 13:38:35
      上一页
      删除评论
      Built with