Add an API endpoint for listing remote packs

This commit is contained in:
Ekaterina Vaartis 2019-09-24 19:18:07 +03:00
commit ba9d35a904
3 changed files with 61 additions and 14 deletions

View file

@ -222,6 +222,7 @@ defmodule Pleroma.Web.Router do
put("/:name", EmojiAPIController, :create)
delete("/:name", EmojiAPIController, :delete)
post("/download_from", EmojiAPIController, :download_from)
post("/list_from", EmojiAPIController, :list_from)
end
scope "/packs" do