activitypub: implement following/followers endpoints
This commit is contained in:
parent
c50c7745bc
commit
1a94704230
4 changed files with 118 additions and 15 deletions
|
|
@ -249,6 +249,14 @@ defmodule Pleroma.Web.Router do
|
|||
plug Pleroma.Web.Plugs.HTTPSignaturePlug
|
||||
end
|
||||
|
||||
scope "/", Pleroma.Web.ActivityPub do
|
||||
# XXX: not really ostatus
|
||||
pipe_through :ostatus
|
||||
|
||||
get "/users/:nickname/followers", ActivityPubController, :followers
|
||||
get "/users/:nickname/following", ActivityPubController, :following
|
||||
end
|
||||
|
||||
if @federating do
|
||||
scope "/", Pleroma.Web.ActivityPub do
|
||||
pipe_through :activitypub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue