whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data
filterKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterHashtagType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the hashtags parameter in the returned result
filterHashtagKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterGeotagType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the geotag parameter in the returned result
filterGeotagKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterAuthorType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the author parameter in the returned result
filterAuthorKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterPreviewLikeUserType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the previewLikeUsers parameter in the returned result
filterPreviewLikeUserKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterPreviewCommentType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the previewComments parameter in the returned result
filterPreviewCommentKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterReplyToPostType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the replyToPost parameter in the returned result
filterReplyToPostKeys
String
optional
Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays
filterReplyToCommentType
String
optional
whitelist only returns key-value pairs for the given key names blacklist removes specified key-value pairs from the returned data Applies only to the replyToComment parameter in the returned result
filterReplyToCommentKeys
String
optional
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/fresns/v1/comment/listGETQueryHeaders Optional Parameter
Query Params
uidOrUsernamemultiple separated by commashtidmultiple separated by commasgtidmultiple separated by commasgidmultiple separated by commasgroupsconfiguration, 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-duidOrUsernamemultiple separated by commasgidmultiple separated by commashtidmultiple separated by commasgtidmultiple separated by commaspidmultiple separated by commascidmultiple separated by commascreatedTime,random,view,like,dislike,follow,block,commentDefault
createdTimedescasc,descwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned datawhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
hashtagsparameter in the returned resultwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
geotagparameter in the returned resultwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
authorparameter in the returned resultwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
previewLikeUsersparameter in the returned resultwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
previewCommentsparameter in the returned resultwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
replyToPostparameter in the returned resultwhitelistonly returns key-value pairs for the given key namesblacklistremoves specified key-value pairs from the returned dataApplies only to the
replyToCommentparameter in the returned resultRequest 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