Use conversation mapping objects to get / retrieve context from TwAPI.
[akkoma] / lib / pleroma / web / router.ex
index a4f13c879b6746eea9accef186c95bffcde96f62..2ff75ec5dc745d86fc680df05eb4a7e7de2fe7f2 100644 (file)
@@ -74,7 +74,10 @@ defmodule Pleroma.Web.Router do
     pipe_through :ostatus
 
     get "/users/:nickname/feed", OStatus.OStatusController, :feed
+    post "/users/:nickname/salmon", OStatus.OStatusController, :salmon_incoming
     post "/push/hub/:nickname", Websub.WebsubController, :websub_subscription_request
+    get "/push/subscriptions/:id", Websub.WebsubController, :websub_subscription_confirmation
+    post "/push/subscriptions/:id", Websub.WebsubController, :websub_incoming
   end
 
   scope "/.well-known", Pleroma.Web do