From 9ae11007fee229f39c6edc072597d1b457c8f982 Mon Sep 17 00:00:00 2001 From: dosire Date: Tue, 1 Apr 2014 10:41:57 +0200 Subject: Mention search options. --- doc/api/users.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/api') diff --git a/doc/api/users.md b/doc/api/users.md index 4098da72b30..1b9eecf2159 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -51,6 +51,10 @@ GET /users ] ``` +You can search for a users by email or username with: +`/users?search=John` + +Also see `def search query` in `app/models/user.rb`. ## Single user -- cgit v1.2.1