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

✨ Election Setup API #178

Closed
1 task done
keithrfung opened this issue Nov 22, 2021 · 0 comments
Closed
1 task done

✨ Election Setup API #178

keithrfung opened this issue Nov 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@keithrfung
Copy link
Collaborator

keithrfung commented Nov 22, 2021

Is there an existing issue for this?

  • I have searched the existing issues

Suggestion

Build the API's for:

  • Setup an Election
    - Election should have status New, Open, Closed
    - Election should have Manifest (can be empty)
    - Election should have Key (can be empty)
    - Election should have Name (essentially nickname or alias, perhaps that better name) that can be empty.
    • Edit an Election
      • Name, Manifest, Key can be edited when in New state only
  • Should be able to pull list of elections, get a single election as well.

using the new python 1.3 update

Possible Implementation

No response

Anything else?

No response

@keithrfung keithrfung added the enhancement New feature or request label Nov 22, 2021
@lprichar lprichar self-assigned this Dec 3, 2021
lprichar added a commit that referenced this issue Dec 23, 2021
More specifically creates a single endpoint at PUT api/v2/election that doesn't currently do anything, but the routes are all there for more easily fleshing out #178
@lprichar lprichar mentioned this issue Dec 23, 2021
lprichar added a commit that referenced this issue Jan 17, 2022
* fix typo

* Adds support for a V2 of the API

More specifically creates a single endpoint at PUT api/v2/election that doesn't currently do anything, but the routes are all there for more easily fleshing out #178

* Fix failing integration tests

* Rename folder to v1_1 per PR Feedback

* Rename the new endpoints from v2 to v1.1 per PR feedback

* Fix unused imports

Co-authored-by: Keith Fung <keithrfung@users.noreply.github.com>
@lmarie79 lmarie79 added Epic and removed Epic labels Mar 2, 2022
@lmarie79 lmarie79 closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants