Add API endpoints for Backups
This commit is contained in:
parent
abdffc6b8c
commit
2c73bfe122
6 changed files with 224 additions and 0 deletions
|
|
@ -293,6 +293,9 @@ defmodule Pleroma.Web.Router do
|
|||
get("/accounts/mfa/setup/:method", TwoFactorAuthenticationController, :setup)
|
||||
post("/accounts/mfa/confirm/:method", TwoFactorAuthenticationController, :confirm)
|
||||
delete("/accounts/mfa/:method", TwoFactorAuthenticationController, :disable)
|
||||
|
||||
get("/backups", BackupController, :index)
|
||||
post("/backups", BackupController, :create)
|
||||
end
|
||||
|
||||
scope "/oauth", Pleroma.Web.OAuth do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue