Add mastodon API endpoint for follow

This commit is contained in:
eal 2017-10-25 21:02:42 +03:00
commit 813d2eaaf0
2 changed files with 29 additions and 4 deletions

View file

@ -62,6 +62,8 @@ defmodule Pleroma.Web.Router do
post "/accounts/:id/mute", MastodonAPIController, :relationship_noop
post "/accounts/:id/unmute", MastodonAPIController, :relationship_noop
post "/follows", MastodonAPIController, :follow
get "/blocks", MastodonAPIController, :empty_array
get "/domain_blocks", MastodonAPIController, :empty_array
get "/follow_requests", MastodonAPIController, :empty_array