projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for scheduled post with poll
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
account_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/account_operation.ex
b/lib/pleroma/web/api_spec/operations/account_operation.ex
index 451aa2477c450852e52cdf7c802f267c84e5f6c8..80acee2f7a21fb689ad62a538105adffac8c438f 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/account_operation.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.AccountOperation do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.AccountOperation do
@@
-139,6
+139,12
@@
defmodule Pleroma.Web.ApiSpec.AccountOperation do
:query,
%Schema{type: :array, items: VisibilityScope},
"Exclude visibilities"
:query,
%Schema{type: :array, items: VisibilityScope},
"Exclude visibilities"
+ ),
+ Operation.parameter(
+ :with_muted,
+ :query,
+ BooleanLike,
+ "Include reactions from muted acccounts."
)
] ++ pagination_params(),
responses: %{
)
] ++ pagination_params(),
responses: %{
@@
-608,6
+614,12
@@
defmodule Pleroma.Web.ApiSpec.AccountOperation do
nullable: true,
description: "Allows automatically follow moved following accounts"
},
nullable: true,
description: "Allows automatically follow moved following accounts"
},
+ also_known_as: %Schema{
+ type: :array,
+ items: %Schema{type: :string},
+ nullable: true,
+ description: "List of alternate ActivityPub IDs"
+ },
pleroma_background_image: %Schema{
type: :string,
nullable: true,
pleroma_background_image: %Schema{
type: :string,
nullable: true,
@@
-618,7
+630,7
@@
defmodule Pleroma.Web.ApiSpec.AccountOperation do
allOf: [BooleanLike],
nullable: true,
description:
allOf: [BooleanLike],
nullable: true,
description:
- "Discovery
of this account in search results and other services
is allowed."
+ "Discovery
(listing, indexing) of this account by external services (search bots etc.)
is allowed."
},
actor_type: ActorType
},
},
actor_type: ActorType
},
@@
-638,6
+650,7
@@
defmodule Pleroma.Web.ApiSpec.AccountOperation do
pleroma_settings_store: %{"pleroma-fe" => %{"key" => "val"}},
skip_thread_containment: false,
allow_following_move: false,
pleroma_settings_store: %{"pleroma-fe" => %{"key" => "val"}},
skip_thread_containment: false,
allow_following_move: false,
+ also_known_as: ["https://foo.bar/users/foo"],
discoverable: false,
actor_type: "Person"
}
discoverable: false,
actor_type: "Person"
}