Add header image to masto api.
[akkoma] / lib / pleroma / web / router.ex
index 46cbf4e4e170cdd77e97a3e3a90bdb60755853a3..84bf6791dd2bbd29bbc4efcd323c95ed5c9471a1 100644 (file)
@@ -56,6 +56,13 @@ defmodule Pleroma.Web.Router do
     get "/timelines/home", MastodonAPIController, :home_timeline
 
     post "/statuses", MastodonAPIController, :post_status
+    delete "/statuses/:id", MastodonAPIController, :delete_status
+
+    post "/statuses/:id/reblog", MastodonAPIController, :reblog_status
+    post "/statuses/:id/favourite", MastodonAPIController, :fav_status
+    post "/statuses/:id/unfavourite", MastodonAPIController, :unfav_status
+
+    get "/notifications", MastodonAPIController, :empty_array
   end
 
   scope "/api", Pleroma.Web do