refactor emoji api with fixes
This commit is contained in:
parent
5839e67eb8
commit
342f55fb92
9 changed files with 1327 additions and 779 deletions
|
|
@ -221,12 +221,13 @@ defmodule Pleroma.Web.Router do
|
|||
delete("/:name", EmojiAPIController, :delete)
|
||||
|
||||
# Note: /download_from downloads and saves to instance, not to requester
|
||||
post("/download_from", EmojiAPIController, :save_from)
|
||||
post("/download_from", EmojiAPIController, :download_from)
|
||||
end
|
||||
|
||||
# Pack info / downloading
|
||||
scope "/packs" do
|
||||
get("/", EmojiAPIController, :list_packs)
|
||||
get("/:name", EmojiAPIController, :show)
|
||||
get("/:name/download_shared/", EmojiAPIController, :download_shared)
|
||||
get("/list_from", EmojiAPIController, :list_from)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue