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

Introduce v2 api #433

Merged
merged 3 commits into from
Jul 24, 2022
Merged

Introduce v2 api #433

merged 3 commits into from
Jul 24, 2022

Conversation

mik3y
Copy link
Member

@mik3y mik3y commented Jul 24, 2022

No description provided.

mik3y added 3 commits July 24, 2022 11:26
The goal is to rip out and replace the existing/legacy API in a future major
release. It is default-disabled unless `KEGBOT_ENABLE_V2_API` is set.

What's implemented:
* Views and serializers for all existing object types
* Auth layer that should respect site privacy settings

So far, this API has proven sufficient for powering new proof-of-concept web
frontend [1].

Major work remaining:
* Implement action methods for things like pouring a drink
* Add tests
* Verify permissions are configured correctly

First commit of #432.

[1] https://github.com/Kegbot/kegbot-frontend
@mik3y mik3y merged commit 4c495f4 into master Jul 24, 2022
@mik3y mik3y deleted the mikey/api-v2 branch July 24, 2022 15:18
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.

1 participant