v1
latestOpenAPI 3.0.12026-07-17142140.0 KBUpdate Resource
Upvote Resource
Increments the upvotes property of a resource. If the user has already upvoted the resource, upvotes property will decrement since a user is limited to only one vote per resource. Also, if the user has already downvoted the resource, hitting this endpoint will increment upvotes property while decrementing downvotes property.
put/resources/{id}/upvote
Path parameters
idinteger required
Resource ID
Response
Upvoted resource