Admin API: GET /api/pleroma/admin/stats to get status count by visibility scope

This commit is contained in:
eugenijm 2020-01-09 22:18:55 +03:00
commit 7ad5c51f23
11 changed files with 321 additions and 1 deletions

View file

@ -201,6 +201,7 @@ defmodule Pleroma.Web.Router do
get("/moderation_log", AdminAPIController, :list_log)
post("/reload_emoji", AdminAPIController, :reload_emoji)
get("/stats", AdminAPIController, :stats)
end
scope "/api/pleroma/emoji", Pleroma.Web.PleromaAPI do