Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex
This commit is contained in:
parent
bfa26b0937
commit
a45bd91d4e
@ -116,7 +116,7 @@ def statuses_operation do
|
|||||||
"Statuses posted to the given account. Public (for public statuses only), or user token + `read:statuses` (for private statuses the user is authorized to see)",
|
"Statuses posted to the given account. Public (for public statuses only), or user token + `read:statuses` (for private statuses the user is authorized to see)",
|
||||||
parameters: [
|
parameters: [
|
||||||
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
|
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
|
||||||
Operation.parameter(:pinned, :query, BooleanLike, "Pinned"),
|
Operation.parameter(:pinned, :query, BooleanLike, "Include only pinned statuses"),
|
||||||
Operation.parameter(:tagged, :query, :string, "With tag"),
|
Operation.parameter(:tagged, :query, :string, "With tag"),
|
||||||
Operation.parameter(:only_media, :query, BooleanLike, "Include only statuses with media attached"),
|
Operation.parameter(:only_media, :query, BooleanLike, "Include only statuses with media attached"),
|
||||||
Operation.parameter(:with_muted, :query, BooleanLike, "Include statuses from muted acccounts."),
|
Operation.parameter(:with_muted, :query, BooleanLike, "Include statuses from muted acccounts."),
|
||||||
|
Loading…
Reference in New Issue
Block a user