Extend Mastodon API with public endpoint for getting Favorites timeline of any user (#789)
This commit is contained in:
parent
10c40e13d2
commit
9dd36e5bcb
7 changed files with 294 additions and 3 deletions
|
|
@ -395,6 +395,8 @@ defmodule Pleroma.Web.Router do
|
|||
get("/accounts/:id", MastodonAPIController, :user)
|
||||
|
||||
get("/search", MastodonAPIController, :search)
|
||||
|
||||
get("/pleroma/accounts/:id/favourites", MastodonAPIController, :user_favourites)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue