Mastodon API: Add exclude_visibilities parameter to the timeline and notification endpoints
This commit is contained in:
parent
e3b4a3e96b
commit
a97b642289
9 changed files with 297 additions and 44 deletions
|
|
@ -71,6 +71,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPI do
|
|||
defp cast_params(params) do
|
||||
param_types = %{
|
||||
exclude_types: {:array, :string},
|
||||
exclude_visibilities: {:array, :string},
|
||||
reblogs: :boolean,
|
||||
with_muted: :boolean
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue