diff options
author | 2018-05-19 20:13:51 +0200 | |
---|---|---|
committer | 2018-05-19 20:13:51 +0200 | |
commit | 4bba9d0cdf8361e5529281a98d14bc4bb0ceb669 (patch) | |
tree | 5747395e8dae9a42f6935da1979bb2a88abaef75 /pysite/views/api/bot/user.py | |
parent | [Jams] Some amount of public display, but links not ready yet (diff) |
Snake cog (#71)
* Tables that are initialized with JSON files in the table_init folder will now sync properly if the JSON file is changed after initialization. Any lines that are either added or removed will be updated whenever site is rebooted.
* Initial API endpoint for snake_quiz
* reverting database.py
* I WILL KILL YOU
* Added the snake_fact API endpoint
* Moving snake tables to the new migrations system
* Set up initial data for all new tables, added table objects, wrote endpoints, and wrote tests for the new endpoints.
* Removing the snake_movies endpoint. That idea didn't pan out.
* Added an endpoint for getting special snake cases
* broken json
* Fixing the initial data slightly, better picture of bob.
* Changing JSON indentation to be 4 spaces consistently in all initial_data, to address Aperture's review. Also changing all the endpoints to have correct namespacing, addressing gdude's review.
* Fixing tests to point to new API endpoints
Diffstat (limited to 'pysite/views/api/bot/user.py')
-rw-r--r-- | pysite/views/api/bot/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysite/views/api/bot/user.py b/pysite/views/api/bot/user.py index 58963682..12f5a2c7 100644 --- a/pysite/views/api/bot/user.py +++ b/pysite/views/api/bot/user.py @@ -28,8 +28,8 @@ DELETE_SCHEMA = Schema([ class UserView(APIView, DBMixin): - path = "/user" - name = "api.bot.user" + path = "/bot/users" + name = "bot.users" table_name = "users" oauth_table_name = "oauth_data" |