federation_status: New endpoint showing unreachable instances

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-10-16 00:32:20 +02:00
commit 3b5a7a6b14
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
5 changed files with 72 additions and 0 deletions

View file

@ -373,6 +373,7 @@ defmodule Pleroma.Web.Router do
scope "/api/v1/pleroma", Pleroma.Web.PleromaAPI do
pipe_through(:api)
get("/accounts/:id/scrobbles", ScrobbleController, :index)
get("/federation_status", InstancesController, :show)
end
scope "/api/v1", Pleroma.Web.MastodonAPI do