Fullstack Go/baduk/weiqi application
22a5e96b2f
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.1 to 2.11.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/2.10.1...2.11.3) Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
api | ||
auth | ||
configuration | ||
migrations | ||
models | ||
tests | ||
websockets | ||
__init__.py | ||
app.py | ||
database.py | ||
manage.py | ||
Procfile | ||
README.md | ||
requirements.txt | ||
runtime.txt | ||
server.py |
Brower Go API
Resources
Login
Users
User Endpoints
@auth_required
/users/<str:user_name>
GET
/users/<str:user_name>
POST
/users/<str:user_name>
PUT
Alias:
/users/<int:user_id>
Games
/games/
no endpoint; game lists are retrieved by room
Moves & Branches
/games/<int:game_id>
GET
@auth_required
/games/<int:game_id>
POST <- post move to game
Messages
@auth_required
/games/<int:game_id>/moves/<int:move_id>
POST <- post message/branch
/games/<int:game_id>/moves/<int:move_id>
POST <- edit move
Rooms
Archive Room
The archive room is used to search and access games once they have been completed.
path: /rooms/archive