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/listGETQueryHeaders Optional Parameter
Query Params
gidconfiguration, whether to include contents of subgroupsDefault is
falseWhen passed, the
digestStateparameter will be ignoreddigest_state field
1No2general digest3premium digesttoday,yesterday,week,lastWeek,month,lastMonth,year,lastYearY-m-dY-m-dcreatedTime,random,view,like,dislike,follow,block,commentDefault
createdTimedescasc,descMultiple 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
uidOrUsernameparameter value represents obtaining comments from a specified user, and whether to output is determined byOperations > Interaction > View user content settings.it_commentsconfiguration, whether to output users who liked my commentsuidOrUsernameis 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.contentTypeparameter (PascalCase)Return