Get all elections and ballot papers for a voter token
GET/voting/getElections
Returns all elections and ballot papers for the provided voter token. Contains all public information about the elections and ballot papers that are necessary for the voting process. Returns only elections / ballot papers where no vote was submitted by this voter token.
This endpoint is currently only a draft and not implemented! When this endpoint is implemented this note will be removed.
Responses
- 200
- 400
- 401
- 406
- 429
- default
OK. The request was successfully executed. Returns elections for the requested voter token.
Bad Request. The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing). Note, the actual error message may be different from the example one.
Unauthorized. The request has not been applied because the user does not have valid authentication credentials for the target resource. Note, the actual error message may be different from the example one.
Not Acceptable. The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
Too Many Requests. The user has sent too many requests in a given amount of time.
Internal Server Error. A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.