Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ballots for voting events via API #6

Open
dpausp opened this issue Jun 23, 2023 · 0 comments
Open

Create ballots for voting events via API #6

dpausp opened this issue Jun 23, 2023 · 0 comments
Labels

Comments

@dpausp
Copy link
Member

dpausp commented Jun 23, 2023

Other components of Ekklesia, namely ekklesia-portal, want to set up ballots for voting through a JSON API.
It must be possible to create multiple ballots with one API call. The API has to generate a UUID for each created ballot so other components can refer to it.

  • Input: list of ballot configs
  • Output: list of ballot UUIDs generated by ekklesia-voting if all configs are valid, else error information
  • Voting system, start time, end time and user roles which are allowed to vote must be configurable.
    • Must support voting systems: STV, ranked candidate list and simple yes/no questions.
  • Ballots must support competing options (all competing options = one ballot).
  • Voting events can be represented as a separate entity.
  • Ballot configuration must be immutable.
@dpausp dpausp changed the title Create ballots for voting events via the API Create ballots for voting events via API Jun 23, 2023
@dpausp dpausp added the API label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant