v1

latestOpenAPI 3.0.12026-07-17142140.0 KB
Update Resource

Downvote Resource

Increments the downvotes property of a resource. If the user has already downvoted the resource, downvotes property will decrement since a user is limited to only one vote per resource. Also, if the user has already upvoted the resource, hitting this endpoint will increment downvotes property while decrementing upvotes property.

put/resources/{id}/downvote

Path parameters

idinteger required

Resource ID

Response

Downvoted resource

apiVersionstring

API version

statusstring

Status message

status_codeinteger

Status code