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

API V2 #194

Merged
merged 7 commits into from
Jan 17, 2022
Merged

API V2 #194

merged 7 commits into from
Jan 17, 2022

Conversation

lprichar
Copy link
Collaborator

@lprichar lprichar commented Dec 23, 2021

Issue

Starts #178

Description

This begins a V1.1 of the API in support of #178. It doesn't actually add anything of value yet other than a create election endpoint that doesn't do anything, but adding substantial V1.1 endpoints will be substantially easier after this work.

Testing

Try PUT /api/v1.1/election with { "name": "Hamilton General Election" }. It should return back a 200 with a success message, but it doesn't actually do anything just yet.

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
@lgtm-com
Copy link

lgtm-com bot commented Dec 23, 2021

This pull request introduces 3 alerts when merging 6e30a2d into cbc7cc5 - view on LGTM.com

new alerts:

  • 3 for Unused import

Copy link
Collaborator

@keithrfung keithrfung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please relabel to v1.1

We are trying to keep major version to align across the repositories.

V2 -> electionguard 2.0 , electionguard-python 2.0 etc.

@lprichar lprichar requested a review from keithrfung January 5, 2022 21:23
@lgtm-com
Copy link

lgtm-com bot commented Jan 5, 2022

This pull request introduces 3 alerts when merging ee0bceb into cbc7cc5 - view on LGTM.com

new alerts:

  • 3 for Unused import

Copy link
Collaborator

@keithrfung keithrfung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lprichar lprichar merged commit 3ec30c7 into main Jan 17, 2022
@lprichar lprichar deleted the feature/api-v2 branch January 17, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants