Merge branch 'features/reports-enhancements' into 'develop'
Enhance reports in Pleroma API: index, show See merge request pleroma/pleroma!3280
This commit is contained in:
commit
4a9d3a1f28
6 changed files with 286 additions and 2 deletions
|
|
@ -368,6 +368,12 @@ defmodule Pleroma.Web.Router do
|
|||
get("/statuses/:id/reactions", EmojiReactionController, :index)
|
||||
end
|
||||
|
||||
scope "/api/v0/pleroma", Pleroma.Web.PleromaAPI do
|
||||
pipe_through(:authenticated_api)
|
||||
get("/reports", ReportController, :index)
|
||||
get("/reports/:id", ReportController, :show)
|
||||
end
|
||||
|
||||
scope "/api/v1/pleroma", Pleroma.Web.PleromaAPI do
|
||||
scope [] do
|
||||
pipe_through(:authenticated_api)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue