Implement settings api
This commit is contained in:
parent
311fda32f3
commit
8371fd8ca2
4 changed files with 284 additions and 0 deletions
|
|
@ -458,6 +458,13 @@ defmodule Pleroma.Web.Router do
|
|||
get("/birthdays", AccountController, :birthdays)
|
||||
end
|
||||
|
||||
scope [] do
|
||||
pipe_through(:authenticated_api)
|
||||
|
||||
get("/settings/:app", SettingsController, :show)
|
||||
patch("/settings/:app", SettingsController, :update)
|
||||
end
|
||||
|
||||
post("/accounts/confirmation_resend", AccountController, :confirmation_resend)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue