Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 806 Bytes

REST_API_endpoints.md

File metadata and controls

12 lines (11 loc) · 806 Bytes

Thingy Quizz API Endpoints

Verb Path Description
GET /api/games/ Get a list of all the games
POST /api/games/ Create a new game
POST /api/games/{id}/join/ Join a game with a specific ID
POST /login/ User login
GET /user/{id}/stats Get a player stats (how many games won, etc.)
GET /api/games/{id}/question Get question + associated multiple choice answers
POST /api/games/{id}/question Answer to a question with given answer id