EndpointsVote
Set Vote
Path Parameters
content_type*string
Value in
"collection" | "comment" | "article"slug*string
Header Parameters
auth?|
Cookie Parameters
auth?|
Request Body
application/json
score*integer
Range
-1 <= value <= 1[key: string]?never
Response Body
application/json
application/json
curl -X PUT "https://api.hikka.io/vote/collection/string" \ -H "Content-Type: application/json" \ -d '{ "score": -1 }'{
"score": 0
}{
"message": "Example error message",
"code": "example_error"
}