Skip to main content
Replyke v7 uses an 8-type reaction system that replaces the legacy upvote/downvote arrays. Reactions can be applied to both entities and comments. Each reaction type has a defined effect on the target owner’s reputation score.

ReactionType

The set of valid reaction values:
ValueReputation EffectDescription
"upvote"+1Positive endorsement
"downvote"−1Negative endorsement
"like"+1Generic like
"love"+2Strong positive reaction
"wow"+1Surprise or amazement
"sad"0Empathetic reaction
"angry"0Negative emotional reaction
"funny"+1Humor reaction

ReactionCounts

Every entity and comment includes a reactionCounts object with the current count for each reaction type:
{
  upvote: number;
  downvote: number;
  like: number;
  love: number;
  wow: number;
  sad: number;
  angry: number;
  funny: number;
}

Reaction Record

When fetching the list of users who reacted to an entity or comment, each item in the result is a Reaction record:
PropertyTypeDescription
idstringUnique reaction identifier (UUID).
projectIdstringThe project this reaction belongs to.
targetType"entity" | "comment"Whether the reaction targets an entity or a comment.
targetIdstringThe ID of the entity or comment that was reacted to.
userIdstringThe ID of the user who reacted.
reactionTypeReactionTypeWhich of the 8 reaction types was used.
createdAtstringISO timestamp when the reaction was created.
updatedAtstringISO timestamp when the reaction was last updated.
userUserThe user who reacted. Populated in fetch-reactions responses.

See Also