2012-05-20 14:34:55 -06:00
|
|
|
#Site
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /socket controllers.Main.websocket
|
2012-05-20 14:34:55 -06:00
|
|
|
|
2012-05-13 11:03:06 -06:00
|
|
|
# Game
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /games controllers.Game.realtime
|
|
|
|
GET /games/all controllers.Game.all(page: Int ?= 1)
|
|
|
|
GET /games/checkmate controllers.Game.checkmate(page: Int ?= 1)
|
2012-06-08 17:17:37 -06:00
|
|
|
GET /games/bookmark controllers.Game.bookmark(page: Int ?= 1)
|
2012-06-07 19:26:35 -06:00
|
|
|
GET /games/popular controllers.Game.popular(page: Int ?= 1)
|
2012-06-30 20:02:31 -06:00
|
|
|
GET /games/analysed controllers.Game.analysed(page: Int ?= 1)
|
2012-05-15 17:02:32 -06:00
|
|
|
|
2012-09-04 15:54:42 -06:00
|
|
|
# Search
|
2012-09-05 17:26:09 -06:00
|
|
|
GET /games/search controllers.Search.form(page: Int ?= 1)
|
2012-09-04 15:54:42 -06:00
|
|
|
|
2012-05-15 17:02:32 -06:00
|
|
|
# Round
|
2012-05-18 15:27:07 -06:00
|
|
|
GET /$gameId<[\w\-]{8}> controllers.Round.watcher(gameId: String, color: String = "white")
|
|
|
|
GET /$gameId<[\w\-]{8}>/$color<white|black> controllers.Round.watcher(gameId: String, color: String)
|
|
|
|
GET /$fullId<[\w\-]{12}> controllers.Round.player(fullId: String)
|
|
|
|
GET /$gameId<[\w\-]{8}>/$color<white|black>/socket controllers.Round.websocketWatcher(gameId: String, color: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/socket controllers.Round.websocketPlayer(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/abort controllers.Round.abort(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/resign controllers.Round.resign(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/resign/force controllers.Round.resignForce(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/draw/claim controllers.Round.drawClaim(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/draw/accept controllers.Round.drawAccept(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/draw/offer controllers.Round.drawOffer(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/draw/cancel controllers.Round.drawCancel(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/draw/decline controllers.Round.drawDecline(fullId: String)
|
2012-05-18 18:49:04 -06:00
|
|
|
GET /$fullId<[\w\-]{12}>/rematch controllers.Round.rematch(fullId: String)
|
2012-05-18 15:27:07 -06:00
|
|
|
GET /$fullId<[\w\-]{12}>/rematch/cancel controllers.Round.rematchCancel(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/rematch/decline controllers.Round.rematchDecline(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/takeback/accept controllers.Round.takebackAccept(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/takeback/offer controllers.Round.takebackOffer(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/takeback/cancel controllers.Round.takebackCancel(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/takeback/decline controllers.Round.takebackDecline(fullId: String)
|
|
|
|
GET /$gameId<[\w\-]{8}>/$color<white|black>/table controllers.Round.tableWatcher(gameId: String, color: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/table controllers.Round.tablePlayer(fullId: String)
|
|
|
|
GET /$gameId<[\w\-]{8}>/players controllers.Round.players(gameId: String)
|
2012-05-16 18:06:53 -06:00
|
|
|
|
2012-09-08 12:18:38 -06:00
|
|
|
# Tournament
|
2012-09-09 14:04:52 -06:00
|
|
|
GET /tournament controllers.Tournament.home
|
2012-09-15 11:29:00 -06:00
|
|
|
GET /tournament/reload controllers.Tournament.homeReload
|
2012-09-09 14:04:52 -06:00
|
|
|
GET /tournament/new controllers.Tournament.form
|
|
|
|
POST /tournament/new controllers.Tournament.create
|
|
|
|
GET /tournament/$id<[\w\-]{8}> controllers.Tournament.show(id: String)
|
2012-09-10 07:28:03 -06:00
|
|
|
GET /tournament/$id<[\w\-]{8}>/socket controllers.Tournament.websocket(id: String)
|
|
|
|
POST /tournament/$id<[\w\-]{8}>/join controllers.Tournament.join(id: String)
|
2012-09-10 10:34:30 -06:00
|
|
|
POST /tournament/$id<[\w\-]{8}>/withdraw controllers.Tournament.withdraw(id: String)
|
2012-09-12 17:43:48 -06:00
|
|
|
GET /tournament/$id<[\w\-]{8}>/reload controllers.Tournament.reload(id: String)
|
2012-09-08 12:18:38 -06:00
|
|
|
|
2012-05-16 18:06:53 -06:00
|
|
|
# Analyse
|
2012-09-08 12:18:38 -06:00
|
|
|
GET /analyse/$gameId<[\w\-]{8}> controllers.Analyse.replay(gameId: String, color: String = "white")
|
2012-05-17 10:34:07 -06:00
|
|
|
GET /analyse/$gameId<[\w\-]{8}>/$color<white|black> controllers.Analyse.replay(gameId: String, color: String)
|
2012-06-25 05:56:13 -06:00
|
|
|
POST /analyse/$gameId<[\w\-]{8}>/$color<white|black>/computer controllers.Analyse.computer(gameId: String, color: String)
|
2012-05-17 04:30:41 -06:00
|
|
|
GET /$gameId<[\w\-]{8}>/stats controllers.Analyse.stats(gameId: String)
|
2012-05-28 16:27:44 -06:00
|
|
|
GET /$gameId<[\w\-]{8}>/pgn controllers.Analyse.pgn(gameId: String)
|
2012-05-13 11:03:06 -06:00
|
|
|
|
|
|
|
# Setting
|
2012-06-05 05:37:59 -06:00
|
|
|
POST /setting/:name controllers.Setting.set(name: String)
|
2012-05-13 17:33:24 -06:00
|
|
|
|
|
|
|
# Setup
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /setup/ai controllers.Setup.aiForm
|
|
|
|
POST /setup/ai controllers.Setup.ai
|
|
|
|
GET /setup/friend controllers.Setup.friendForm
|
|
|
|
POST /setup/friend controllers.Setup.friend
|
|
|
|
GET /$fullId<[\w\-]{12}>/await controllers.Setup.await(fullId: String)
|
|
|
|
GET /$fullId<[\w\-]{12}>/cancel controllers.Setup.cancel(fullId: String)
|
2012-07-19 02:55:25 -06:00
|
|
|
POST /$id<[\w\-]{8}>/join controllers.Setup.join(id: String)
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /setup/hook controllers.Setup.hookForm
|
|
|
|
POST /setup/hook controllers.Setup.hook
|
2012-06-07 13:19:42 -06:00
|
|
|
POST /api/game/new controllers.Setup.api
|
2012-05-11 15:45:45 -06:00
|
|
|
|
2012-05-13 06:02:28 -06:00
|
|
|
# I18n
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /translation/contribute controllers.I18n.contribute
|
2012-06-16 03:25:21 -06:00
|
|
|
GET /translation/form/:lang controllers.I18n.translationForm(lang: String)
|
2012-06-16 05:44:41 -06:00
|
|
|
POST /translation/form/:lang controllers.I18n.translationPost(lang: String)
|
2012-06-16 06:26:16 -06:00
|
|
|
GET /translation/fetch/:from controllers.I18n.fetch(from: Int)
|
2012-06-16 16:45:17 -06:00
|
|
|
POST /translation/hideCalls controllers.I18n.hideCalls
|
2012-05-13 06:02:28 -06:00
|
|
|
|
2012-05-11 15:45:45 -06:00
|
|
|
# Authentication
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /login controllers.Auth.login
|
|
|
|
POST /login controllers.Auth.authenticate
|
|
|
|
GET /logout controllers.Auth.logout
|
2012-05-27 15:39:35 -06:00
|
|
|
GET /signup controllers.Auth.signup
|
|
|
|
POST /signup controllers.Auth.signupPost
|
2012-05-11 15:45:45 -06:00
|
|
|
|
2012-05-13 06:02:28 -06:00
|
|
|
# User
|
2012-05-31 05:51:44 -06:00
|
|
|
POST /@/:username/export controllers.User.export(username: String)
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /@/:username/:filterName controllers.User.showFilter(username: String, filterName: String, page: Int ?= 1)
|
|
|
|
GET /@/:username controllers.User.show(username: String)
|
|
|
|
GET /people controllers.User.list(page: Int ?= 1)
|
|
|
|
GET /people/stats controllers.User.stats
|
|
|
|
GET /people/autocomplete controllers.User.autocomplete
|
|
|
|
GET /people/online controllers.User.online
|
2012-05-24 16:01:47 -06:00
|
|
|
GET /account/bio controllers.User.getBio
|
2012-06-01 08:00:42 -06:00
|
|
|
PUT /account/bio.json controllers.User.setBio
|
2012-08-01 13:52:07 -06:00
|
|
|
GET /account/passwd controllers.User.passwd
|
|
|
|
POST /account/passwd controllers.User.passwdApply
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /account/close controllers.User.close
|
|
|
|
POST /account/closeConfirm controllers.User.closeConfirm
|
2012-05-13 06:02:28 -06:00
|
|
|
|
2012-07-21 10:08:40 -06:00
|
|
|
# Mod
|
|
|
|
POST /mod/:username/engine controllers.Mod.engine(username: String)
|
|
|
|
POST /mod/:username/mute controllers.Mod.mute(username: String)
|
|
|
|
POST /mod/:username/ban controllers.Mod.ban(username: String)
|
2012-07-22 11:37:38 -06:00
|
|
|
POST /mod/:ip/ipban controllers.Mod.ipban(ip: String)
|
2012-07-21 10:32:10 -06:00
|
|
|
GET /mod/log controllers.Mod.log
|
2012-07-21 10:08:40 -06:00
|
|
|
|
2012-05-13 06:02:28 -06:00
|
|
|
# Wiki
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /wiki controllers.Wiki.home
|
2012-05-28 11:31:53 -06:00
|
|
|
GET /wiki/:slug controllers.Wiki.show(slug: String)
|
2012-05-13 06:02:28 -06:00
|
|
|
|
2012-05-26 08:20:59 -06:00
|
|
|
# AI
|
2012-07-05 17:43:52 -06:00
|
|
|
GET /ai/stockfish/play controllers.Ai.playStockfish
|
|
|
|
GET /ai/stockfish/analyse controllers.Ai.analyseStockfish
|
2012-07-06 02:15:10 -06:00
|
|
|
GET /ai/stockfish/report controllers.Ai.reportStockfish
|
2012-03-17 15:28:07 -06:00
|
|
|
|
2012-05-26 14:37:01 -06:00
|
|
|
# Lobby
|
|
|
|
GET / controllers.Lobby.home
|
|
|
|
GET /new/$ownerId<[\w\-]{12}> controllers.Lobby.hook(ownerId: String)
|
|
|
|
GET /new/$ownerId<[\w\-]{12}>/cancel controllers.Lobby.cancel(ownerId: String)
|
|
|
|
GET /new/$hookId<[\w\-]{8}>/join controllers.Lobby.join(hookId: String)
|
|
|
|
GET /lobby/socket controllers.Lobby.socket
|
2012-06-02 14:37:43 -06:00
|
|
|
GET /lobby/log controllers.Lobby.log
|
2012-03-20 13:50:51 -06:00
|
|
|
|
2012-06-08 17:17:37 -06:00
|
|
|
# Bookmark
|
|
|
|
POST /bookmark/$gameId<[\w\-]{8}> controllers.Bookmark.toggle(gameId: String)
|
2012-06-06 01:57:13 -06:00
|
|
|
|
2012-05-26 08:20:59 -06:00
|
|
|
# Forum
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /forum controllers.ForumCateg.index
|
2012-05-26 17:48:10 -06:00
|
|
|
GET /forum/recent controllers.ForumPost.recent
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /forum/:slug controllers.ForumCateg.show(slug: String, page: Int ?= 1)
|
2012-05-26 16:27:53 -06:00
|
|
|
GET /forum/:categSlug/form controllers.ForumTopic.form(categSlug: String)
|
2012-05-26 14:37:01 -06:00
|
|
|
POST /forum/:categSlug/new controllers.ForumTopic.create(categSlug: String)
|
|
|
|
GET /forum/:categSlug/:slug controllers.ForumTopic.show(categSlug: String, slug: String, page: Int ?= 1)
|
|
|
|
POST /forum/:categSlug/:slug/new controllers.ForumPost.create(categSlug: String, slug: String, page: Int ?= 1)
|
2012-05-27 05:20:32 -06:00
|
|
|
POST /forum/delete/post/:id controllers.ForumPost.delete(id: String)
|
2012-05-23 17:38:24 -06:00
|
|
|
|
2012-05-27 09:56:26 -06:00
|
|
|
# Message
|
|
|
|
GET /inbox controllers.Message.inbox(page: Int ?= 1)
|
|
|
|
GET /inbox/new controllers.Message.form
|
|
|
|
POST /inbox/new controllers.Message.create
|
|
|
|
GET /inbox/$id<[\w]{8}> controllers.Message.thread(id: String)
|
2012-05-27 18:53:46 -06:00
|
|
|
POST /inbox/$id<[\w]{8}> controllers.Message.answer(id: String)
|
2012-05-27 09:56:26 -06:00
|
|
|
POST /inbox/$id<[\w]{8}>/delete controllers.Message.delete(id: String)
|
|
|
|
|
2012-07-04 17:05:27 -06:00
|
|
|
# Notification
|
|
|
|
DELETE /notification/$id<[\w]{8}> controllers.Notification.remove(id)
|
|
|
|
|
2012-05-23 17:38:24 -06:00
|
|
|
# Monitor
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /monitor controllers.Monitor.index
|
2012-05-30 13:53:02 -06:00
|
|
|
GET /monitor/socket controllers.Monitor.websocket
|
2012-06-17 13:40:42 -06:00
|
|
|
GET /monitor/players controllers.Monitor.nbPlayers
|
|
|
|
GET /monitor/mps controllers.Monitor.nbMoves
|
|
|
|
GET /monitor/status controllers.Monitor.status
|
2012-05-26 08:20:59 -06:00
|
|
|
|
|
|
|
# Assets
|
2012-05-26 14:37:01 -06:00
|
|
|
GET /assets/*file controllers.Assets.at(path="/public", file)
|