Add deletion to masto api.

This commit is contained in:
Roger Braun 2017-09-09 13:56:51 +02:00
commit 4dc517a0bb
5 changed files with 56 additions and 4 deletions

View file

@ -56,6 +56,7 @@ defmodule Pleroma.Web.Router do
get "/timelines/home", MastodonAPIController, :home_timeline
post "/statuses", MastodonAPIController, :post_status
delete "/statuses/:id", MastodonAPIController, :delete_status
end
scope "/api", Pleroma.Web do