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/list
GET
Query
Headers Optional Parameter
Query Params
uidOrUsername
multiple separated by commashtid
multiple separated by commasgtid
multiple separated by commasgid
multiple separated by commasgroups
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
uidOrUsername
multiple separated by commasgid
multiple separated by commashtid
multiple separated by commasgtid
multiple separated by commaspid
multiple separated by commascid
multiple separated by commascreatedTime
,random
,view
,like
,dislike
,follow
,block
,comment
Default
createdTime
desc
asc
,desc
whitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned datawhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
hashtags
parameter in the returned resultwhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
geotag
parameter in the returned resultwhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
author
parameter in the returned resultwhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
previewLikeUsers
parameter in the returned resultwhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
previewComments
parameter in the returned resultwhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
replyToPost
parameter in the returned resultwhitelist
only returns key-value pairs for the given key namesblacklist
removes specified key-value pairs from the returned dataApplies only to the
replyToComment
parameter in the returned resultRequest 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