ability to set and reset avatar, profile banner and backgroud in Mastodon API
This commit is contained in:
parent
0c53d91f3b
commit
1452a96ad6
3 changed files with 164 additions and 0 deletions
|
|
@ -318,6 +318,10 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
patch("/accounts/update_credentials", MastodonAPIController, :update_credentials)
|
||||
|
||||
patch("/accounts/update_avatar", MastodonAPIController, :update_avatar)
|
||||
patch("/accounts/update_banner", MastodonAPIController, :update_banner)
|
||||
patch("/accounts/update_background", MastodonAPIController, :update_background)
|
||||
|
||||
post("/statuses", MastodonAPIController, :post_status)
|
||||
delete("/statuses/:id", MastodonAPIController, :delete_status)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue