Skip to main content
PATCH
Upvote Entity
Upvotes an entity on behalf of the authenticated user. If the user has previously downvoted the entity, the downvote is removed.

Path Parameters

entityId
string
required
The ID of the entity to upvote

Response

Returns the updated entity object with the new upvote.
id
string
Unique entity identifier
userId
string
ID of the entity creator
title
string
Entity title
upvotes
array
Array of user IDs who upvoted (includes the current user)
downvotes
array
Array of user IDs who downvoted

Error Responses


Notes

  • This action is only available to authenticated users.
  • A notification will be sent to the entity owner upon upvote.
  • Reputation points are updated for the entity owner.