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
type=likers Get the list of users who liked cid.
type=dislikers Get the list of users who disliked cid.
type=followers Get the list of users who followed cid.
type=blockers Get the list of users who blocked cid.
The interface will decide whether to output data based on the configuration table settings Operations > Interaction > View interaction log settings.
comment_likers configuration, whether to output users who liked it
comment_dislikers configuration, whether to output users who disliked it
comment_followers configuration, whether to output users who followed it
comment_blockers configuration, whether to output users who blocked it
orderDirection The sort direction is sorted by creation time.
{ "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 -> User Info } ] }}
Comment Interaction Users
/api/v2/comment/{cid}/interaction/{type}
GET
Rest
+Query
Headers Optional Parameter
Rest Params
likers
,dislikers
,followers
,blockers
Query Params
asc
,desc
, Default: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
type=likers
Get the list of users who likedcid
.type=dislikers
Get the list of users who dislikedcid
.type=followers
Get the list of users who followedcid
.type=blockers
Get the list of users who blockedcid
.Operations > Interaction > View interaction log settings
.comment_likers
configuration, whether to output users who liked itcomment_dislikers
configuration, whether to output users who disliked itcomment_followers
configuration, whether to output users who followed itcomment_blockers
configuration, whether to output users who blocked itorderDirection
The sort direction is sorted by creation time.Return