docs: new /api/users/search route

ref #7469. Description of new route that
adds paging for the users list.
This commit is contained in:
Daniel Lee
2017-02-21 16:09:15 +01:00
parent d5245fd19a
commit 96a3ed0ac3
2 changed files with 43 additions and 2 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ func SearchUsers(c *middleware.Context) Response {
return Json(200, query.Result.Users)
}
// GET /api/paged-users
// GET /api/search
func SearchUsersWithPaging(c *middleware.Context) Response {
query, err := searchUser(c)
if err != nil {