UCL_IBM_cARd
  1. Comment
UCL_IBM_cARd
  • User
    • User Delete
      POST
    • User Update
      POST
    • User Find By ID
      POST
    • User Get All
      POST
    • User List
      POST
    • User Add
      POST
  • Category
    • Category Add
      POST
    • Category Delete
      POST
    • Category Update
      POST
    • Category Find By ID
      POST
    • Category Get All
      POST
    • Category List
      POST
  • Comment
    • Comment Add
      POST
    • Comment Update
      POST
    • Comment Find By ID
      POST
    • Comment Get All
      POST
    • Comment List
      POST
    • Comment Delete
      POST
  • Collection
    • Collection Add
      POST
    • Collection Update
      POST
    • Collection Delete
      POST
    • Collection Find By ID
      POST
    • Collection Get All
      POST
    • Comment List
      POST
  • Articles
    • Article Add
      POST
    • Article Delete
      POST
    • Article Update
      POST
    • Article Find By ID
      POST
    • Article Get All
      POST
    • Article List
      POST
  • Likes
    • Like Add
    • LikeUpdate
    • Like Delete
    • Like Find By ID
    • Like Get All
    • Like List
  1. Comment

Comment List

POST
/commentArticle/list
责任人:Chen Yang
Show the requested comments details.

请求参数

Query 参数
pageNum
integer 
必需
Number of page
示例值:
1
pageSize
integer 
必需
Items per page
示例值:
10

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/commentArticle/list?pageNum=1&pageSize=10'

返回响应

🟢200Success
application/json
Body
code
integer 
必需
data
object 
必需
rows
array [object {9}] 
必需
count
integer 
必需
示例
{
    "code": 0,
    "data": {
        "rows": [
            {
                "id": 0,
                "content": "string",
                "userId": 0,
                "articleId": 0,
                "createdAt": "string",
                "updatedAt": "string",
                "deletedAt": null,
                "user": {
                    "id": 0,
                    "name": "string",
                    "username": "string",
                    "password": "string",
                    "avatar": "string",
                    "desc": "string",
                    "roleId": 0,
                    "weight": 0,
                    "age": 0,
                    "createdAt": "string",
                    "updatedAt": "string",
                    "deletedAt": null,
                    "role": {
                        "id": 0,
                        "name": "string",
                        "desc": "string",
                        "createdAt": "string",
                        "updatedAt": "string",
                        "deletedAt": null
                    }
                },
                "article": {
                    "id": 0,
                    "name": "string",
                    "content": "string",
                    "desc": "string",
                    "userId": 0,
                    "avatar": "string",
                    "categoryId": 0,
                    "type": null,
                    "imgs": null,
                    "frameID": "string",
                    "createdAt": "string",
                    "updatedAt": "string",
                    "deletedAt": null,
                    "category": {
                        "id": 0,
                        "name": "string",
                        "date": "string",
                        "createdAt": "string",
                        "updatedAt": "string",
                        "deletedAt": null
                    },
                    "user": {
                        "id": 0,
                        "name": "string",
                        "username": "string",
                        "password": "string",
                        "avatar": "string",
                        "desc": "string",
                        "roleId": 0,
                        "weight": 0,
                        "age": 0,
                        "createdAt": "string",
                        "updatedAt": "string",
                        "deletedAt": null,
                        "role": {
                            "id": 0,
                            "name": "string",
                            "desc": "string",
                            "createdAt": "string",
                            "updatedAt": "string",
                            "deletedAt": null
                        }
                    }
                }
            }
        ],
        "count": 0
    }
}
🔴500Failed
修改于 2022-03-31 19:13:36
上一页
Comment Get All
下一页
Comment Delete
Built with