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
|
|
@ -38,6 +38,7 @@ defmodule Pleroma.User.Info do
|
|||
field(:salmon, :string, default: nil)
|
||||
field(:hide_followers, :boolean, default: false)
|
||||
field(:hide_follows, :boolean, default: false)
|
||||
field(:hide_favorites, :boolean, default: true)
|
||||
field(:pinned_activities, {:array, :string}, default: [])
|
||||
field(:flavour, :string, default: nil)
|
||||
|
||||
|
|
@ -202,6 +203,7 @@ defmodule Pleroma.User.Info do
|
|||
:banner,
|
||||
:hide_follows,
|
||||
:hide_followers,
|
||||
:hide_favorites,
|
||||
:background,
|
||||
:show_role
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue