MastoAPI: Add user notes on accounts
[akkoma] / lib / pleroma / web / router.ex
index abb332ec2f1f9eed9b232f83fa34f50b0fa7b654..ca5db8ea359bf1a7433abea01c2e320540d1286c 100644 (file)
@@ -456,6 +456,7 @@ defmodule Pleroma.Web.Router do
     post("/accounts/:id/unblock", AccountController, :unblock)
     post("/accounts/:id/mute", AccountController, :mute)
     post("/accounts/:id/unmute", AccountController, :unmute)
+    post("/accounts/:id/note", AccountController, :note)
 
     get("/conversations", ConversationController, :index)
     post("/conversations/:id/read", ConversationController, :mark_as_read)