Extend Mastodon API with public endpoint for getting Favorites timeline of any user (#789)

This commit is contained in:
Sergey Suprunenko 2019-04-23 02:47:43 +00:00 committed by kaniini
commit 9dd36e5bcb
7 changed files with 294 additions and 3 deletions

View file

@ -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