Fullstack Go/baduk/weiqi application
Find a file
2019-10-04 15:03:09 -07:00
api create api blueprint 2019-10-04 15:00:47 -07:00
migrations add is_main to Move 2019-10-02 14:50:56 -07:00
models create api blueprint 2019-10-04 15:00:47 -07:00
tests config tests 2019-10-04 11:24:11 -07:00
__init__.py make db migrations 2019-10-02 13:55:09 -07:00
app.py create api blueprint 2019-10-04 15:00:47 -07:00
config.py create api blueprint 2019-10-04 15:00:47 -07:00
manage.py config tests 2019-10-04 11:24:11 -07:00
models.py create api blueprint 2019-10-04 15:00:47 -07:00
Procfile config api 2019-09-28 14:03:27 -07:00
README.md config api 2019-09-28 14:03:27 -07:00
requirements.txt config tests 2019-10-04 11:24:11 -07:00
runtime.txt config api 2019-09-28 14:03:27 -07:00

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