X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Frouter.ex;h=b0464037e83ab03dadd11ab3839a96b0b4cb12db;hb=d1a84ceec88ddd1bc2538cae8a4b6e72cde4fe6f;hp=cfb973f532def19d8b81029763db4015dad20ed0;hpb=ca1ba1e272fd51ee1d9524a39da07b4b2f9e0b6e;p=akkoma diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index cfb973f53..b0464037e 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -224,6 +224,7 @@ defmodule Pleroma.Web.Router do scope [] do pipe_through(:oauth_write) + post("/change_email", UtilController, :change_email) post("/change_password", UtilController, :change_password) post("/delete_account", UtilController, :delete_account) put("/notification_settings", UtilController, :update_notificaton_settings) @@ -443,6 +444,7 @@ defmodule Pleroma.Web.Router do get("/timelines/tag/:tag", MastodonAPIController, :hashtag_timeline) get("/timelines/list/:list_id", MastodonAPIController, :list_timeline) + get("/statuses", MastodonAPIController, :get_statuses) get("/statuses/:id", MastodonAPIController, :get_status) get("/statuses/:id/context", MastodonAPIController, :get_context)