Implement mastodon api for showing edit history
This commit is contained in:
parent
8acfe95f3e
commit
c004eb0fa2
7 changed files with 245 additions and 23 deletions
|
|
@ -552,6 +552,9 @@ defmodule Pleroma.Web.Router do
|
|||
get("/bookmarks", StatusController, :bookmarks)
|
||||
|
||||
post("/statuses", StatusController, :create)
|
||||
get("/statuses/:id/history", StatusController, :show_history)
|
||||
get("/statuses/:id/source", StatusController, :show_source)
|
||||
put("/statuses/:id", StatusController, :update)
|
||||
delete("/statuses/:id", StatusController, :delete)
|
||||
post("/statuses/:id/reblog", StatusController, :reblog)
|
||||
post("/statuses/:id/unreblog", StatusController, :unreblog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue