18 lines
1.3 KiB
Plaintext
18 lines
1.3 KiB
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/newAi controllers.massivedecks.Application.newAi(lobbyId: String)
|
|
POST /lobbies/:lobbyId/players/:playerId controllers.massivedecks.Application.getPlayer(lobbyId: String, playerId: Int)
|
|
POST /lobbies/:lobbyId/players/:playerId/leave controllers.massivedecks.Application.leave(lobbyId: String, playerId: Int)
|
|
|
|
# Map static resources from the /public folder to the /assets URL path
|
|
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
|