Add favoriting to Mastodon API.
This commit is contained in:
parent
66e4c710d4
commit
454dc18570
8 changed files with 47 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue