Add mastodon API endpoint for follow
This commit is contained in:
parent
5293516730
commit
813d2eaaf0
2 changed files with 29 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue