mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Add realtime scoring API
This commit is contained in:
@@ -117,6 +117,8 @@ func (web *Web) newHandler() http.Handler {
|
||||
router.HandleFunc("/api/arena/websocket", web.arenaWebsocketApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/matches/{type}", web.matchesApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/rankings", web.rankingsApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/scores", web.getScoresHandler).Methods("GET")
|
||||
router.HandleFunc("/api/scores", web.setScoresHandler).Methods("PATCH", "PUT")
|
||||
router.HandleFunc("/api/sponsor_slides", web.sponsorSlidesApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/teams/{teamId}/avatar", web.teamAvatarsApiHandler).Methods("GET")
|
||||
router.HandleFunc("/display", web.placeholderDisplayHandler).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user