Add API endpoints for a custom user mascot

This commit is contained in:
Sadposter 2019-05-20 12:39:23 +01:00
commit 54e9cb5c2d
No known key found for this signature in database
GPG key ID: 6F3BAD60DE190290
4 changed files with 98 additions and 1 deletions

View file

@ -352,6 +352,9 @@ defmodule Pleroma.Web.Router do
post("/pleroma/flavour/:flavour", MastodonAPIController, :set_flavour)
get("/pleroma/mascot", MastodonAPIController, :get_mascot)
put("/pleroma/mascot", MastodonAPIController, :set_mascot)
post("/reports", MastodonAPIController, :reports)
end