Add basic search.

This commit is contained in:
Roger Braun 2017-09-16 10:42:24 +02:00
commit 9f0a2a714b
3 changed files with 45 additions and 0 deletions

View file

@ -87,6 +87,8 @@ defmodule Pleroma.Web.Router do
get "/accounts/:id/followers", MastodonAPIController, :followers
get "/accounts/:id/following", MastodonAPIController, :following
get "/accounts/:id", MastodonAPIController, :user
get "/search", MastodonAPIController, :search
end
scope "/api", Pleroma.Web do