fix API routing

pull/6610/head
Thibault Duplessis 2020-05-10 09:02:52 -06:00
parent 2e08650d1f
commit fd7808c05a
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ GET /team/:id/pm-all controllers.Team.pmAll(id: String)
POST /team/:id/pm-all controllers.Team.pmAllSubmit(id: String)
# Team API
GET /api/team/all controllers.Team.apiAll(page: Int ?= 1)
GET /api/team/search controllers.Team.search(text: String ?= "", page: Int ?= 1)
GET /api/team/search controllers.Team.apiSearch(text: String ?= "", page: Int ?= 1)
GET /api/team/of/:username controllers.Team.apiTeamsOf(username: String)
GET /api/team/:id controllers.Team.apiShow(id: String)
GET /api/team/:id/users controllers.Team.users(id: String)