2014-06-04 17:44:42 -06:00
|
|
|
# Accessibility
|
|
|
|
POST /toggle-blind-mode controllers.Main.toggleBlindMode
|
|
|
|
|
2013-03-18 17:36:22 -06:00
|
|
|
# Lobby
|
|
|
|
GET / controllers.Lobby.home
|
2014-07-29 14:40:07 -06:00
|
|
|
GET /lobby/socket/v:apiVersion controllers.Lobby.socket(apiVersion: Int)
|
2014-12-17 17:02:59 -07:00
|
|
|
GET /lobby/seeks controllers.Lobby.seeks
|
2013-03-18 17:36:22 -06:00
|
|
|
|
2015-04-06 14:40:45 -06:00
|
|
|
# Timeline
|
|
|
|
GET /timeline controllers.Timeline.home
|
|
|
|
GET /timeline/more controllers.Timeline.more
|
|
|
|
POST /timeline/unsub/:channel controllers.Timeline.unsub(channel: String)
|
|
|
|
|
2013-07-31 09:21:42 -06:00
|
|
|
# TV
|
2013-07-31 10:21:45 -06:00
|
|
|
GET /tv controllers.Tv.index
|
2014-02-23 06:03:48 -07:00
|
|
|
GET /tv/embed controllers.Tv.embed
|
|
|
|
GET /tv/frame controllers.Tv.frame
|
2014-05-10 07:50:54 -06:00
|
|
|
GET /tv/stream controllers.Tv.streamOut
|
2015-06-16 10:46:30 -06:00
|
|
|
GET /tv/:chanKey controllers.Tv.onChannel(chanKey: String)
|
|
|
|
GET /tv/:chanKey/$gameId<\w{8}>/$color<white|black>/sides controllers.Tv.sides(chanKey: String, gameId: String, color: String)
|
2015-06-25 16:24:56 -06:00
|
|
|
GET /tv/stream/$id<[0-9a-f]{8}> controllers.Tv.streamIn(id: String)
|
2013-07-31 09:21:42 -06:00
|
|
|
|
2013-05-23 10:59:46 -06:00
|
|
|
# Relation
|
|
|
|
POST /rel/follow/:userId controllers.Relation.follow(userId: String)
|
|
|
|
POST /rel/unfollow/:userId controllers.Relation.unfollow(userId: String)
|
|
|
|
POST /rel/block/:userId controllers.Relation.block(userId: String)
|
|
|
|
POST /rel/unblock/:userId controllers.Relation.unblock(userId: String)
|
|
|
|
GET /@/:username/following controllers.Relation.following(username: String)
|
|
|
|
GET /@/:username/followers controllers.Relation.followers(username: String)
|
2013-06-01 05:45:52 -06:00
|
|
|
GET /@/:username/suggestions controllers.Relation.suggest(username: String)
|
2015-01-15 17:34:25 -07:00
|
|
|
GET /rel/blocks controllers.Relation.blocks
|
2013-05-23 10:59:46 -06:00
|
|
|
|
2013-03-20 08:23:41 -06:00
|
|
|
# User
|
2013-05-19 18:01:20 -06:00
|
|
|
GET /@/:username/opponents controllers.User.opponents(username: String)
|
2013-05-15 13:28:46 -06:00
|
|
|
GET /@/:username/mod controllers.User.mod(username: String)
|
2014-04-22 17:22:57 -06:00
|
|
|
POST /@/:username/note controllers.User.writeNote(username: String)
|
2013-07-26 16:29:07 -06:00
|
|
|
GET /@/:username/mini controllers.User.showMini(username: String)
|
2014-08-15 05:44:32 -06:00
|
|
|
GET /@/:username/tv controllers.User.tv(username: String)
|
2013-05-08 09:41:12 -06:00
|
|
|
GET /@/:username/:filterName controllers.User.showFilter(username: String, filterName: String, page: Int ?= 1)
|
2013-03-20 08:23:41 -06:00
|
|
|
GET /@/:username controllers.User.show(username: String)
|
2014-08-02 11:33:46 -06:00
|
|
|
GET /player controllers.User.list
|
2014-05-21 14:57:10 -06:00
|
|
|
GET /player/online controllers.User.online
|
|
|
|
GET /player/autocomplete controllers.User.autocomplete
|
2013-10-20 07:46:29 -06:00
|
|
|
|
|
|
|
# Account
|
|
|
|
GET /account/passwd controllers.Account.passwd
|
|
|
|
POST /account/passwd controllers.Account.passwdApply
|
2014-12-10 15:07:43 -07:00
|
|
|
GET /account/email controllers.Account.email
|
|
|
|
POST /account/email controllers.Account.emailApply
|
2013-10-20 07:46:29 -06:00
|
|
|
GET /account/close controllers.Account.close
|
|
|
|
POST /account/closeConfirm controllers.Account.closeConfirm
|
|
|
|
GET /account/profile controllers.Account.profile
|
|
|
|
POST /account/profile controllers.Account.profileApply
|
2015-04-12 00:36:27 -06:00
|
|
|
GET /account/kid controllers.Account.kid
|
|
|
|
POST /account/kidConfirm controllers.Account.kidConfirm
|
2014-07-21 14:46:52 -06:00
|
|
|
GET /account/info controllers.Account.info
|
2013-03-20 10:34:38 -06:00
|
|
|
|
2014-05-31 11:01:43 -06:00
|
|
|
# Site
|
2013-04-10 05:02:32 -06:00
|
|
|
GET /socket controllers.Main.websocket
|
2013-03-20 10:34:38 -06:00
|
|
|
|
2014-05-31 11:01:43 -06:00
|
|
|
# Blog
|
|
|
|
GET /blog controllers.Blog.index(ref: Option[String] ?= None)
|
|
|
|
GET /blog/:id/:slug controllers.Blog.show(id: String, slug: String, ref: Option[String] ?= None)
|
2014-07-09 17:56:54 -06:00
|
|
|
GET /blog.atom controllers.Blog.atom(ref: Option[String] ?= None)
|
2014-05-31 11:01:43 -06:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Game
|
2015-01-15 10:38:57 -07:00
|
|
|
POST /games/export/:user controllers.Game.exportConfirm(user: String)
|
|
|
|
GET /games/export-form/:user controllers.Game.export(user: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Search
|
2013-05-09 17:00:27 -06:00
|
|
|
GET /games/search controllers.Game.search(page: Int ?= 1)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2014-12-16 05:46:36 -07:00
|
|
|
# Training - Opening
|
2014-12-16 04:04:19 -07:00
|
|
|
GET /training/opening controllers.Opening.home
|
2015-01-08 16:08:09 -07:00
|
|
|
GET /training/opening/history controllers.Opening.history
|
2014-12-16 04:04:19 -07:00
|
|
|
GET /training/opening/:id controllers.Opening.show(id: Int)
|
2015-01-07 14:42:06 -07:00
|
|
|
POST /training/opening/:id controllers.Opening.attempt(id: Int)
|
2014-12-16 05:46:36 -07:00
|
|
|
|
|
|
|
# Training - Coordinate
|
|
|
|
GET /training/coordinate controllers.Coordinate.home
|
|
|
|
POST /training/coordinate/score controllers.Coordinate.score
|
|
|
|
POST /training/coordinate/color controllers.Coordinate.color
|
|
|
|
|
2014-05-03 17:45:14 -06:00
|
|
|
# Training - Puzzle
|
2014-02-09 06:36:57 -07:00
|
|
|
GET /training controllers.Puzzle.home
|
2014-04-21 10:20:49 -06:00
|
|
|
POST /training/difficulty controllers.Puzzle.difficulty
|
2014-02-09 06:36:57 -07:00
|
|
|
GET /training/new controllers.Puzzle.newPuzzle
|
2014-09-14 13:44:13 -06:00
|
|
|
GET /training/history controllers.Puzzle.history
|
2015-02-01 07:16:35 -07:00
|
|
|
GET /training/daily controllers.Puzzle.daily
|
2015-03-17 14:22:58 -06:00
|
|
|
GET /training/embed controllers.Puzzle.embed
|
|
|
|
GET /training/frame controllers.Puzzle.frame
|
2015-03-17 16:32:45 -06:00
|
|
|
GET /training/export/png/:id.png controllers.Export.puzzlePng(id: Int)
|
2014-02-09 06:36:57 -07:00
|
|
|
GET /training/:id controllers.Puzzle.show(id: Int)
|
2014-09-15 11:11:24 -06:00
|
|
|
GET /training/:id/load controllers.Puzzle.load(id: Int)
|
2014-02-09 06:36:57 -07:00
|
|
|
POST /training/:id/attempt controllers.Puzzle.attempt(id: Int)
|
|
|
|
POST /training/:id/vote controllers.Puzzle.vote(id: Int)
|
|
|
|
|
2014-12-23 14:45:37 -07:00
|
|
|
# User Analysis
|
|
|
|
GET /analysis/*urlFen controllers.UserAnalysis.load(urlFen: String)
|
|
|
|
GET /analysis controllers.UserAnalysis.index
|
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Round
|
2014-06-29 05:07:17 -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/v:apiVersion controllers.Round.websocketPlayer(fullId: String, apiVersion: Int)
|
2015-05-13 12:05:22 -06:00
|
|
|
GET /$gameId<\w{8}>/$color<white|black>/sides/watcher controllers.Round.sidesWatcher(gameId: String, color: String)
|
|
|
|
GET /$gameId<\w{8}>/$color<white|black>/sides/player controllers.Round.sidesPlayer(gameId: String, color: String)
|
2014-12-22 10:12:29 -07:00
|
|
|
GET /$gameId<\w{8}>/others controllers.Round.others(gameId: String)
|
2014-06-29 05:07:17 -06:00
|
|
|
GET /$gameId<\w{8}>/continue/:mode controllers.Round.continue(gameId: String, mode: String)
|
2014-12-07 04:32:18 -07:00
|
|
|
POST /$gameId<\w{8}>/note controllers.Round.writeNote(gameId: String)
|
2014-06-29 05:07:17 -06:00
|
|
|
GET /$gameId<\w{8}>/edit controllers.Editor.game(gameId: String)
|
2014-12-24 06:30:24 -07:00
|
|
|
GET /$gameId<\w{8}>/$color<white|black>/analysis controllers.UserAnalysis.game(gameId: String, color: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2015-04-22 08:27:10 -06:00
|
|
|
POST /$gameId<\w{8}>/delete controllers.Game.delete(gameId: String)
|
|
|
|
|
2015-04-06 06:42:24 -06:00
|
|
|
GET /round-next/$gameId<\w{8}> controllers.Round.next(gameId: String)
|
2015-04-07 07:26:02 -06:00
|
|
|
GET /whats-next/$gameId<\w{8}> controllers.Round.whatsNext(gameId: String)
|
2015-04-06 06:42:24 -06:00
|
|
|
|
2014-06-05 04:07:41 -06:00
|
|
|
# Round accessibility: text representation
|
2014-06-29 05:07:17 -06:00
|
|
|
GET /$fullId<\w{12}>/text controllers.Round.playerText(fullId: String)
|
|
|
|
GET /$gameId<\w{8}>/$color<white|black>/text controllers.Round.watcherText(gameId: String, color: String)
|
2014-06-05 04:07:41 -06:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Tournament
|
2013-12-23 11:56:30 -07:00
|
|
|
GET /tournament controllers.Tournament.home
|
2013-05-12 09:02:45 -06:00
|
|
|
GET /tournament/new controllers.Tournament.form
|
|
|
|
POST /tournament/new controllers.Tournament.create
|
2014-07-23 15:08:59 -06:00
|
|
|
GET /tournament/$id<\w{8}> controllers.Tournament.show(id: String)
|
2015-06-13 14:34:13 -06:00
|
|
|
GET /tournament/$id<\w{8}>/standing/:page controllers.Tournament.standing(id: String, page: Int)
|
2015-05-13 14:52:04 -06:00
|
|
|
GET /tournament/$id<\w{8}>/socket/v:apiVersion controllers.Tournament.websocket(id: String, apiVersion: Int)
|
|
|
|
GET /tournament/$id<\w{8}>/game-standing controllers.Tournament.gameStanding(id: String)
|
2014-07-23 15:08:59 -06:00
|
|
|
POST /tournament/$id<\w{8}>/join controllers.Tournament.join(id: String)
|
|
|
|
POST /tournament/$id<\w{8}>/withdraw controllers.Tournament.withdraw(id: String)
|
|
|
|
GET /tournament/help controllers.Tournament.help(system: Option[String] ?= None)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2015-03-30 16:40:26 -06:00
|
|
|
# Simul
|
|
|
|
GET /simul controllers.Simul.home
|
|
|
|
GET /simul/new controllers.Simul.form
|
|
|
|
POST /simul/new controllers.Simul.create
|
2015-04-03 07:33:31 -06:00
|
|
|
GET /simul/reload controllers.Simul.homeReload
|
|
|
|
GET /simul/$id<\w{8}> controllers.Simul.show(id: String)
|
|
|
|
GET /simul/$id<\w{8}>/socket/v:apiVersion controllers.Simul.websocket(id: String, apiVersion: Int)
|
2015-04-04 08:44:50 -06:00
|
|
|
POST /simul/$id<\w{8}>/accept/:user controllers.Simul.accept(id: String, user: String)
|
|
|
|
POST /simul/$id<\w{8}>/reject/:user controllers.Simul.reject(id: String, user: String)
|
|
|
|
POST /simul/$id<\w{8}>/start controllers.Simul.start(id: String)
|
|
|
|
POST /simul/$id<\w{8}>/abort controllers.Simul.abort(id: String)
|
2015-04-03 15:04:59 -06:00
|
|
|
POST /simul/$id<\w{8}>/join/:variant controllers.Simul.join(id: String, variant: String)
|
|
|
|
POST /simul/$id<\w{8}>/withdraw controllers.Simul.withdraw(id: String)
|
2015-03-30 16:40:26 -06:00
|
|
|
|
2013-04-03 11:12:38 -06:00
|
|
|
# Team
|
2013-05-06 14:49:12 -06:00
|
|
|
GET /team controllers.Team.home(page: Int ?= 1)
|
|
|
|
GET /team/new controllers.Team.form
|
|
|
|
POST /team/new controllers.Team.create
|
|
|
|
GET /team/me controllers.Team.mine
|
2013-04-09 12:58:34 -06:00
|
|
|
GET /team/requests controllers.Team.requests
|
2013-05-06 14:49:12 -06:00
|
|
|
GET /team/search controllers.Team.search(text: String ?= "", page: Int ?= 1)
|
2013-04-03 11:12:38 -06:00
|
|
|
GET /team/:id controllers.Team.show(id: String, page: Int ?= 1)
|
2013-05-06 14:49:12 -06:00
|
|
|
GET /team/:id/join controllers.Team.joinPage(id: String)
|
|
|
|
POST /team/:id/join controllers.Team.join(id: String)
|
|
|
|
POST /team/:id/quit controllers.Team.quit(id: String)
|
|
|
|
GET /team/:id/request/new controllers.Team.requestForm(id: String)
|
|
|
|
POST /team/:id/request/new controllers.Team.requestCreate(id: String)
|
|
|
|
POST /team/:id/request/process controllers.Team.requestProcess(id: String)
|
|
|
|
GET /team/:id/edit controllers.Team.edit(id: String)
|
|
|
|
POST /team/:id/edit controllers.Team.update(id: String)
|
|
|
|
GET /team/:id/kick controllers.Team.kickForm(id: String)
|
|
|
|
POST /team/:id/kick controllers.Team.kick(id: String)
|
2013-04-03 11:12:38 -06:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Analyse
|
2014-06-29 05:07:17 -06:00
|
|
|
POST /$gameId<\w{8}>/request-analysis controllers.Analyse.requestAnalysis(gameId: String)
|
|
|
|
POST /$gameId<\w{8}>/post-analysis controllers.Analyse.postAnalysis(gameId: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2014-11-18 14:52:29 -07:00
|
|
|
GET /game/export/$gameId<\w{8}>.pgn controllers.Export.pgn(gameId: String)
|
|
|
|
GET /game/export/pdf/$gameId<\w{8}>.pdf controllers.Export.pdf(gameId: String)
|
|
|
|
GET /game/export/png/$gameId<\w{8}>.png controllers.Export.png(gameId: String)
|
2014-10-31 10:17:52 -06:00
|
|
|
|
2013-10-19 09:22:32 -06:00
|
|
|
# Pref
|
|
|
|
POST /pref/:name controllers.Pref.set(name: String)
|
2013-10-21 04:33:39 -06:00
|
|
|
GET /account/preferences controllers.Pref.form
|
|
|
|
POST /account/preferences controllers.Pref.formApply
|
2015-06-21 07:51:42 -06:00
|
|
|
POST /account/preferences/mini controllers.Pref.miniFormApply
|
2014-05-26 08:21:11 -06:00
|
|
|
POST /account/preferences/tag/:name/:value controllers.Pref.saveTag(name: String, value: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Setup
|
2013-05-08 20:00:13 -06:00
|
|
|
GET /setup/ai controllers.Setup.aiForm
|
|
|
|
POST /setup/ai controllers.Setup.ai
|
2014-05-24 10:43:09 -06:00
|
|
|
GET /setup/friend controllers.Setup.friendForm(user: Option[String] ?= None)
|
|
|
|
POST /setup/friend controllers.Setup.friend(user: Option[String] ?= None)
|
2013-06-05 06:54:33 -06:00
|
|
|
POST /setup/decline controllers.Setup.decline(gameId: String)
|
2014-10-12 16:17:24 -06:00
|
|
|
GET /$fullId<\w{12}>/await controllers.Setup.await(fullId: String, user: Option[String] ?= None)
|
|
|
|
GET /$fullId<\w{12}>/cancel controllers.Setup.cancel(fullId: String)
|
|
|
|
POST /$id<\w{8}>/join controllers.Setup.join(id: String)
|
2013-05-08 20:00:13 -06:00
|
|
|
GET /setup/hook controllers.Setup.hookForm
|
2015-04-22 03:47:55 -06:00
|
|
|
POST /setup/hook/:uid/like/:gameId controllers.Setup.like(uid: String, gameId: String)
|
2013-05-18 21:31:06 -06:00
|
|
|
POST /setup/hook/:uid controllers.Setup.hook(uid: String)
|
2013-05-08 20:00:13 -06:00
|
|
|
GET /setup/filter controllers.Setup.filterForm
|
|
|
|
POST /setup/filter controllers.Setup.filter
|
|
|
|
GET /setup/validate-fen controllers.Setup.validateFen
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2015-03-22 06:38:01 -06:00
|
|
|
# Video
|
|
|
|
GET /video controllers.Video.index
|
2015-03-24 14:39:45 -06:00
|
|
|
GET /video/tags controllers.Video.tags
|
2015-03-22 10:52:26 -06:00
|
|
|
GET /video/author/:author controllers.Video.author(author: String)
|
2015-03-22 08:01:57 -06:00
|
|
|
GET /video/:id controllers.Video.show(id: String)
|
2015-03-22 06:38:01 -06:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# I18n
|
2013-04-09 12:58:34 -06:00
|
|
|
GET /translation/contribute controllers.I18n.contribute
|
2013-05-08 10:15:55 -06:00
|
|
|
GET /translation/form/:lang controllers.I18n.translationForm(lang: String)
|
2014-09-02 01:11:06 -06:00
|
|
|
POST /translation/post/:lang controllers.I18n.translationPost(lang: String)
|
2013-05-08 10:15:55 -06:00
|
|
|
GET /translation/fetch/:from controllers.I18n.fetch(from: Int)
|
|
|
|
POST /translation/hideCalls controllers.I18n.hideCalls
|
2014-12-31 09:15:34 -07:00
|
|
|
POST /translation/select controllers.I18n.select
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Authentication
|
2013-04-09 12:58:34 -06:00
|
|
|
GET /login controllers.Auth.login
|
|
|
|
POST /login controllers.Auth.authenticate
|
|
|
|
GET /logout controllers.Auth.logout
|
|
|
|
GET /signup controllers.Auth.signup
|
|
|
|
POST /signup controllers.Auth.signupPost
|
2015-06-25 08:54:26 -06:00
|
|
|
GET /signup/check-your-email/:name controllers.Auth.checkYourEmail(name: String)
|
|
|
|
GET /signup/confirm/:token controllers.Auth.signupConfirmEmail(token: String)
|
2014-12-14 17:32:18 -07:00
|
|
|
GET /password/reset controllers.Auth.passwordReset
|
2015-06-25 09:49:48 -06:00
|
|
|
POST /password/reset/send controllers.Auth.passwordResetApply
|
2014-12-14 17:32:18 -07:00
|
|
|
GET /password/reset/sent/:email controllers.Auth.passwordResetSent(email: String)
|
|
|
|
GET /password/reset/confirm/:token controllers.Auth.passwordResetConfirm(token: String)
|
|
|
|
POST /password/reset/confirm/:token controllers.Auth.passwordResetConfirmApply(token: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Mod
|
2013-05-06 10:41:02 -06:00
|
|
|
POST /mod/:username/engine controllers.Mod.engine(username: String)
|
2015-02-13 07:14:39 -07:00
|
|
|
POST /mod/:username/booster controllers.Mod.booster(username: String)
|
2013-05-15 22:55:20 -06:00
|
|
|
POST /mod/:username/troll controllers.Mod.troll(username: String)
|
2013-05-06 10:41:02 -06:00
|
|
|
POST /mod/:username/ban controllers.Mod.ban(username: String)
|
2014-02-01 06:13:22 -07:00
|
|
|
POST /mod/:username/close controllers.Mod.closeAccount(username: String)
|
2013-09-11 04:38:16 -06:00
|
|
|
POST /mod/:username/reopen controllers.Mod.reopenAccount(username: String)
|
2014-02-26 17:18:09 -07:00
|
|
|
POST /mod/:username/title controllers.Mod.setTitle(username: String)
|
2014-05-22 13:01:54 -06:00
|
|
|
GET /mod/:username/communication controllers.Mod.communication(username: String)
|
2013-05-06 10:41:02 -06:00
|
|
|
POST /mod/:ip/ipban controllers.Mod.ipban(ip: String)
|
2013-05-06 08:51:19 -06:00
|
|
|
GET /mod/log controllers.Mod.log
|
2015-02-22 23:12:25 -07:00
|
|
|
POST /mod/:username/refreshUserAssess controllers.Mod.refreshUserAssess(username: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Wiki
|
|
|
|
GET /wiki controllers.Wiki.home
|
|
|
|
GET /wiki/:slug controllers.Wiki.show(slug: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# AI
|
2014-04-14 14:09:24 -06:00
|
|
|
GET /ai/move controllers.Ai.move
|
2014-04-29 14:58:49 -06:00
|
|
|
POST /ai/analyse controllers.Ai.analyse
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Bookmark
|
2014-06-29 05:07:17 -06:00
|
|
|
POST /bookmark/$gameId<\w{8}> controllers.Bookmark.toggle(gameId: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Forum
|
2013-05-06 08:51:19 -06:00
|
|
|
GET /forum controllers.ForumCateg.index
|
|
|
|
GET /forum/recent controllers.ForumPost.recent
|
|
|
|
GET /forum/search controllers.ForumPost.search(text: String ?= "", page: Int ?= 1)
|
2013-04-09 12:58:34 -06:00
|
|
|
GET /forum/:slug controllers.ForumCateg.show(slug: String, page: Int ?= 1)
|
2013-05-06 08:51:19 -06:00
|
|
|
GET /forum/:categSlug/form controllers.ForumTopic.form(categSlug: String)
|
|
|
|
POST /forum/:categSlug/new controllers.ForumTopic.create(categSlug: String)
|
|
|
|
GET /forum/:categSlug/:slug controllers.ForumTopic.show(categSlug: String, slug: String, page: Int ?= 1)
|
2013-05-14 23:48:56 -06:00
|
|
|
POST /forum/:categSlug/:slug/close controllers.ForumTopic.close(categSlug: String, slug: String)
|
2014-03-12 14:33:12 -06:00
|
|
|
POST /forum/:categSlug/:slug/hide controllers.ForumTopic.hide(categSlug: String, slug: String)
|
2013-05-06 08:51:19 -06:00
|
|
|
POST /forum/:categSlug/:slug/new controllers.ForumPost.create(categSlug: String, slug: String, page: Int ?= 1)
|
2013-05-28 07:53:32 -06:00
|
|
|
POST /forum/:categSlug/delete/:id controllers.ForumPost.delete(categSlug: String, id: String)
|
2013-05-27 09:01:19 -06:00
|
|
|
GET /forum/redirect/post/:id controllers.ForumPost.redirect(id: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Message
|
2013-05-06 15:52:48 -06:00
|
|
|
GET /inbox controllers.Message.inbox(page: Int ?= 1)
|
|
|
|
GET /inbox/new controllers.Message.form
|
|
|
|
POST /inbox/new controllers.Message.create
|
2013-05-28 15:15:13 -06:00
|
|
|
GET /inbox/preview controllers.Message.preview
|
2014-06-29 05:07:17 -06:00
|
|
|
GET /inbox/$id<\w{8}> controllers.Message.thread(id: String)
|
|
|
|
POST /inbox/$id<\w{8}> controllers.Message.answer(id: String)
|
|
|
|
POST /inbox/$id<\w{8}>/delete controllers.Message.delete(id: String)
|
|
|
|
POST /inbox/$id<\w{8}>/read controllers.Message.markAsRead(id: String)
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Notification
|
2014-06-29 05:07:17 -06:00
|
|
|
DELETE /notification/$id<\w{8}> controllers.Notification.remove(id)
|
2013-05-06 19:57:42 -06:00
|
|
|
|
2013-05-31 15:48:04 -06:00
|
|
|
# Paste
|
|
|
|
GET /paste controllers.Importer.importGame
|
2014-07-17 15:53:37 -06:00
|
|
|
POST /import controllers.Importer.sendGame
|
2013-07-21 06:27:47 -06:00
|
|
|
|
|
|
|
# Edit
|
2014-06-28 05:10:44 -06:00
|
|
|
GET /editor/*urlFen controllers.Editor.load(urlFen: String)
|
|
|
|
GET /editor controllers.Editor.index
|
2013-12-23 11:56:30 -07:00
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Monitor
|
2013-04-09 12:58:34 -06:00
|
|
|
GET /monitor controllers.Monitor.index
|
2013-05-08 12:30:55 -06:00
|
|
|
GET /monitor/socket controllers.Monitor.websocket
|
|
|
|
GET /monitor/status controllers.Monitor.status
|
2013-03-20 10:34:38 -06:00
|
|
|
|
2013-07-27 09:39:19 -06:00
|
|
|
# Report
|
|
|
|
GET /report controllers.Report.form
|
|
|
|
POST /report controllers.Report.create
|
|
|
|
GET /report/thanks controllers.Report.thanks
|
2013-07-27 14:55:29 -06:00
|
|
|
GET /report/list controllers.Report.list
|
|
|
|
POST /report/:id/process controllers.Report.process(id: String)
|
2013-07-27 09:39:19 -06:00
|
|
|
|
2014-07-03 17:16:32 -06:00
|
|
|
# QA
|
|
|
|
GET /qa controllers.QaQuestion.index(page: Option[Int] ?= None)
|
|
|
|
GET /qa/search controllers.QaQuestion.search
|
|
|
|
GET /qa/ask controllers.QaQuestion.ask
|
|
|
|
POST /qa/ask controllers.QaQuestion.doAsk
|
|
|
|
GET /qa/tag/:slug controllers.QaQuestion.byTag(slug: String)
|
|
|
|
GET /qa/:id/:slug controllers.QaQuestion.show(id: Int, slug: String)
|
2014-07-05 08:50:04 -06:00
|
|
|
GET /qa/:id/:slug/edit controllers.QaQuestion.edit(id: Int, slug: String)
|
|
|
|
POST /qa/:id/edit controllers.QaQuestion.doEdit(id: Int)
|
|
|
|
POST /qa/:id/vote controllers.QaQuestion.vote(id: Int)
|
|
|
|
POST /qa/:id/rm controllers.QaQuestion.remove(id: Int)
|
|
|
|
POST /qa/:id/answer controllers.QaAnswer.create(id: Int)
|
|
|
|
POST /qa/:id/:a/vote controllers.QaAnswer.vote(id: Int, a: Int)
|
|
|
|
POST /qa/:id/:a/accept controllers.QaAnswer.accept(id: Int, a: Int)
|
|
|
|
POST /qa/:id/:a/edit-answer controllers.QaAnswer.doEdit(id: Int, a: Int)
|
|
|
|
POST /qa/:id/:a/rm-answer controllers.QaAnswer.remove(id: Int, a: Int)
|
2014-09-09 13:55:44 -06:00
|
|
|
POST /qa/:id/:a/move controllers.QaAnswer.moveTo(id: Int, a: Int)
|
2014-07-05 08:50:04 -06:00
|
|
|
POST /qa/:id/comment controllers.QaComment.question(id: Int)
|
|
|
|
POST /qa/:id/:a/comment controllers.QaComment.answer(id: Int, a: Int)
|
|
|
|
POST /qa/:id/:c/rm-comment controllers.QaComment.remove(id: Int, c: String)
|
2014-07-03 17:16:32 -06:00
|
|
|
|
2015-06-24 05:24:16 -06:00
|
|
|
# RELAY
|
|
|
|
GET /watch controllers.Relay.index
|
2015-06-26 06:48:56 -06:00
|
|
|
GET /watch.atom controllers.Relay.atom
|
2015-06-24 05:24:16 -06:00
|
|
|
GET /watch/:id/:slug controllers.Relay.show(id: String, slug: String)
|
2015-06-26 06:08:44 -06:00
|
|
|
GET /watch/:id/:slug/content controllers.Relay.contentForm(id: String, slug: String)
|
|
|
|
POST /watch/:id/:slug/content controllers.Relay.contentPost(id: String, slug: String)
|
2015-06-24 05:24:16 -06:00
|
|
|
GET /watch/$id<\w{8}>/socket/v:apiVersion controllers.Relay.websocket(id: String, apiVersion: Int)
|
|
|
|
|
2013-12-30 19:00:56 -07:00
|
|
|
# API
|
2014-01-08 17:06:20 -07:00
|
|
|
GET /api/user controllers.Api.users
|
2013-12-30 19:00:56 -07:00
|
|
|
GET /api/user/:id controllers.Api.user(id: String)
|
2014-01-07 18:43:20 -07:00
|
|
|
GET /api/game controllers.Api.games
|
2014-06-06 03:08:43 -06:00
|
|
|
GET /api/game/:id controllers.Api.game(id: String)
|
2014-12-15 16:26:13 -07:00
|
|
|
POST /api/opening controllers.Opening.importOne
|
2015-01-17 04:35:54 -07:00
|
|
|
GET /api/status controllers.Api.status
|
2013-12-30 19:00:56 -07:00
|
|
|
|
2013-04-09 12:58:34 -06:00
|
|
|
# Misc
|
|
|
|
POST /cli controllers.Cli.command
|
2014-08-25 02:09:16 -06:00
|
|
|
GET /captcha/$id<\w{8}> controllers.Main.captchaCheck(id: String)
|
2013-04-09 12:58:34 -06:00
|
|
|
GET /developers controllers.Main.developers
|
2013-05-31 06:27:18 -06:00
|
|
|
GET /embed controllers.Main.embed
|
2014-02-01 12:42:39 -07:00
|
|
|
GET /irc controllers.Main.irc
|
2014-12-29 14:26:11 -07:00
|
|
|
GET /themepicker controllers.Main.themepicker
|
2015-02-09 10:02:57 -07:00
|
|
|
GET /mobile controllers.Main.mobile
|
2014-08-25 02:09:16 -06:00
|
|
|
|
|
|
|
# Map
|
2015-02-21 18:15:16 -07:00
|
|
|
GET /network controllers.WorldMap.index
|
|
|
|
GET /network/stream controllers.WorldMap.stream
|
2014-07-01 14:54:25 -06:00
|
|
|
|
|
|
|
# Pages
|
|
|
|
GET /thanks controllers.Page.thanks
|
|
|
|
GET /help-lichess controllers.Page.helpLichess
|
|
|
|
GET /terms-of-service controllers.Page.tos
|
|
|
|
GET /how-to-stream-on-lichess controllers.Page.streamHowTo
|
2014-07-03 17:16:32 -06:00
|
|
|
GET /contact controllers.Page.contact
|
2014-07-29 13:22:10 -06:00
|
|
|
GET /king-of-the-hill controllers.Page.kingOfTheHill
|
2015-02-17 08:22:54 -07:00
|
|
|
GET /privacy controllers.Page.privacy
|
2013-04-09 12:58:34 -06:00
|
|
|
|
2014-06-29 09:42:09 -06:00
|
|
|
# Donate
|
|
|
|
GET /donate controllers.Donation.index
|
|
|
|
GET /donate/thanks controllers.Donation.thanks
|
|
|
|
POST /donate/ipn controllers.Donation.ipn
|
|
|
|
|
2013-03-20 10:34:38 -06:00
|
|
|
# Assets
|
|
|
|
GET /assets/*file controllers.Assets.at(path="/public", file)
|