Get Comment List
POST
https://app.leiga.com/openapi/api/comment/page
Comment Module(comment)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/comment/page' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"commentModule": "issue",
"linkId": 1,
"pageNumber": 1,
"pageSize": 10
}'
Response Response Example
{
"code": "0",
"data": {
"extend": {
"totalCommentNo": 2
},
"total": 2,
"list": [
{
"deleteFlag": 0,
"stickerVOList": [
{
"containsSelf": true,
"replyUserList": [
{
"name": "eee",
"avatar": "ddd",
"id": 3,
"orgUserId": 4
}
],
"stickerCode": "fff"
}
],
"commentAttributes": {
"commentAtInfos": []
},
"createTime": 1660724394130,
"subReplies": [],
"commentUser": {
"headPortrait": "aaa",
"userName": "bbb",
"userId": 2
},
"commentId": 1,
"files": [],
"updateTime": 1660724394130,
"content": "ccc"
},
{
"deleteFlag": 0,
"stickerVOList": [],
"createTime": 1660724446300,
"subReplies": [
{
"deleteFlag": 0,
"stickerVOList": [],
"createTime": 1661213779644,
"groupId": 5,
"commentUser": {
"headPortrait": "jjj",
"userName": "kkk",
"userId": 8
},
"replyId": 5,
"commentId": 7,
"files": [],
"updateTime": 1661213779644,
"linkedIssueDeleteFlag": 0,
"content": "lll"
}
],
"commentUser": {
"headPortrait": "ggg",
"userName": "hhh",
"userId": 6
},
"commentId": 5,
"files": [],
"updateTime": 1660724446300,
"content": "iii"
}
]
}
}
Request
Header Params
Content-Type
stringÂ
required
Example:
application/json
accessToken
stringÂ
required
Example:
{{accessToken}}
Body Params application/json
Responses
Modified at 2024-06-12 06:46:49