Add favoriting to Mastodon API.

This commit is contained in:
Roger Braun 2017-09-09 18:09:37 +02:00
commit 454dc18570
8 changed files with 47 additions and 21 deletions

View file

@ -59,6 +59,7 @@ defmodule Pleroma.Web.Router do
delete "/statuses/:id", MastodonAPIController, :delete_status
post "/statuses/:id/reblog", MastodonAPIController, :reblog_status
post "/statuses/:id/favourite", MastodonAPIController, :fav_status
end
scope "/api", Pleroma.Web do