Add relationships to masto api.

This commit is contained in:
Roger Braun 2017-09-13 15:55:10 +02:00
commit 49929321c7
5 changed files with 65 additions and 0 deletions

View file

@ -56,6 +56,8 @@ defmodule Pleroma.Web.Router do
pipe_through :authenticated_api
get "/accounts/verify_credentials", MastodonAPIController, :verify_credentials
get "/accounts/relationships", MastodonAPIController, :relationships
get "/timelines/home", MastodonAPIController, :home_timeline
post "/statuses", MastodonAPIController, :post_status