GET /api/games
: Gets list of active gamesGET /api/games/:id
: Gets detail of game with specified idGET /logout
: Logs user out on the backend if logged in
GET /api/users
: Fetches user list from databaseGET /api/auth/token
: Creates and fetches a token to be used for authorized socket connectionPOST /api/games
: Creates a new game with name, interval, moderators(o) and bulletin(o)
public:lobby
: Gets list of active games on the server. And further updates on game starts and ends asstart_game
andend_game
type messages.game:${id}
: Gets the state of the game on join. Further updates on game includes: notification, pick, timer and presence events.