|
|
@ -347,8 +347,8 @@ defmodule Pleroma.Web.Router do
|
|
|
|
get("/accounts/:id/identity_proofs", MastodonAPIController, :empty_array)
|
|
|
|
get("/accounts/:id/identity_proofs", MastodonAPIController, :empty_array)
|
|
|
|
|
|
|
|
|
|
|
|
get("/follow_requests", FollowRequestController, :index)
|
|
|
|
get("/follow_requests", FollowRequestController, :index)
|
|
|
|
get("/blocks", MastodonAPIController, :blocks)
|
|
|
|
get("/blocks", AccountController, :blocks)
|
|
|
|
get("/mutes", MastodonAPIController, :mutes)
|
|
|
|
get("/mutes", AccountController, :mutes)
|
|
|
|
|
|
|
|
|
|
|
|
get("/timelines/home", TimelineController, :home)
|
|
|
|
get("/timelines/home", TimelineController, :home)
|
|
|
|
get("/timelines/direct", TimelineController, :direct)
|
|
|
|
get("/timelines/direct", TimelineController, :direct)
|
|
|
@ -426,7 +426,7 @@ defmodule Pleroma.Web.Router do
|
|
|
|
scope [] do
|
|
|
|
scope [] do
|
|
|
|
pipe_through(:oauth_follow)
|
|
|
|
pipe_through(:oauth_follow)
|
|
|
|
|
|
|
|
|
|
|
|
post("/follows", MastodonAPIController, :follows)
|
|
|
|
post("/follows", AccountController, :follows)
|
|
|
|
post("/accounts/:id/follow", AccountController, :follow)
|
|
|
|
post("/accounts/:id/follow", AccountController, :follow)
|
|
|
|
post("/accounts/:id/unfollow", AccountController, :unfollow)
|
|
|
|
post("/accounts/:id/unfollow", AccountController, :unfollow)
|
|
|
|
post("/accounts/:id/block", AccountController, :block)
|
|
|
|
post("/accounts/:id/block", AccountController, :block)
|
|
|
|