Add API endpoints and user column for subscription
This commit is contained in:
parent
9c9eec62c2
commit
79910ce5cc
5 changed files with 76 additions and 0 deletions
|
|
@ -500,6 +500,9 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
post("/blocks/create", TwitterAPI.Controller, :block)
|
||||
post("/blocks/destroy", TwitterAPI.Controller, :unblock)
|
||||
|
||||
post("/subscriptions/create", TwitterAPI.Controller, :subscribe)
|
||||
post("/subscriptions/destroy", TwitterAPI.Controller, :unsubscribe)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue