Get vote balance for a submission
GET/vote/balance/:submissionId
Get vote balance for a submission
Request
Path Parameters
submissionId submissionIdrequired
The submissionId to get the vote balance of
Responses
- 200
- 404
- default
Balance successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
balance integer
{
"balance": 0
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...