Sort by type: createdTime,random,view,like,dislike,follow,block,comment Default createdTime
orderDirection
String
optional
Sort by direction, default desc asc,desc
whitelistKeys
String
optional
Whitelist key names, only returns key-value pairs for the given key names Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
blacklistKeys
String
optional
Blacklist key names, removes specified key-value pairs from the returned data Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
pageSize
Number
optional
Number of items per page (default 15 items)
page
Number
optional
Page number (default 1)
Request Description
The uidOrUsername parameter value represents obtaining comments from a specified user, and whether to output is determined by Operations > Interaction > View user content settings.
it_comments configuration, whether to output users who liked my comments
If uidOrUsername is the logged-in user themselves, the above configuration is invalid, and data is directly output, indicating that the switch is ignored when viewing their own content.
contentType parameter (PascalCase)
Description
Output all content
All
Output all content
Text
Output plain text comments
Image
Output comments with images
Video
Output comments with videos
Audio
Output comments with audio
Document
Output comments with documents
Output comments with plugin fskey AbcName extended content
{ "code": 0, "message": "ok", "data": { "pagination": { "total": "Number / How much data in total", "pageSize": "Number / How much data on each page", "currentPage": "Number / Current page number", "lastPage": "Number / Last page number" }, "list": [ { // Common Data Structure -> Comment Info } ] }}
Comment List
/api/v2/comment/list
GET
Query
Headers Optional Parameter
Query Params
gid
configuration, whether to include contents of subgroupsDefault is
false
When passed, the
digestState
parameter will be ignoreddigest_state field
1
No2
general digest3
premium digesttoday
,yesterday
,week
,lastWeek
,month
,lastMonth
,year
,lastYear
Y-m-d
Y-m-d
createdTime
,random
,view
,like
,dislike
,follow
,block
,comment
Default
createdTime
desc
asc
,desc
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
Request Description
uidOrUsername
parameter value represents obtaining comments from a specified user, and whether to output is determined byOperations > Interaction > View user content settings
.it_comments
configuration, whether to output users who liked my commentsuidOrUsername
is the logged-in user themselves, the above configuration is invalid, and data is directly output, indicating that the switch is ignored when viewing their own content.contentType
parameter (PascalCase)Return