From 49dc57e3368c6b6557520b671c9f1c3b4fe26db8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 30 Apr 2014 23:48:01 -0400 Subject: Add /api/v1/users/search --- web.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web.go') diff --git a/web.go b/web.go index 23fa10796c..962764af5d 100644 --- a/web.go +++ b/web.go @@ -75,7 +75,11 @@ func runWeb(*cli.Context) { m.Get("/help", routers.Help) m.Group("/api/v1", func(r martini.Router) { + // Miscellaneous. r.Post("/markdown", v1.Markdown) + + // Users. + r.Get("/users/search", v1.SearchUser) }) avt := avatar.CacheServer("public/img/avatar/", "public/img/avatar_default.jpg") -- cgit v1.2.3