Downvote submissionId
POST/vote/down/:submissionId
Downvote submissionId
Request
Path Parameters
submissionId submissionIdrequired
The submissionId to downvote
Responses
- 201
- 401
- 403
- 404
- 429
- 503
- default
Submission downvoted
- application/json
- Schema
- Example (from schema)
Schema
malus address (string)[]
computed timestamp
bonus address (string)[]
value int64
{
"malus": [
"string"
],
"computed": 0,
"bonus": [
"string"
],
"value": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
Submission not found
Rate limit exceeded: 20 votes/min
Schema is not open for vote
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"code": 503,
"message": "Schema is not open for vote"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...