Files
CoqDecks/server/conf/routes
T
2015-12-04 18:12:55 +00:00

16 lines
1022 B
Plaintext

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET / controllers.massivedecks.Application.index()
POST /lobbies controllers.massivedecks.Application.createLobby()
GET /lobbies/:id controllers.massivedecks.Application.getLobby(id: String)
GET /lobbies/:id/notifications controllers.massivedecks.Application.notifications(id: String)
POST /lobbies/:lobbyId controllers.massivedecks.Application.command(lobbyId: String)
POST /lobbies/:lobbyId/players controllers.massivedecks.Application.newPlayer(lobbyId: String)
POST /lobbies/:lobbyId/players/:playerId controllers.massivedecks.Application.getPlayer(lobbyId: String, playerId: Int)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file: String)