projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request 'Update elixir versions' (#512) from norm/akkoma:update-elixir...
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
account_relationship.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/account_relationship.ex
b/lib/pleroma/web/api_spec/schemas/account_relationship.ex
index 8b982669e0edd6101a75ef4bf3875c26d468887d..5d9e3b56e3310f2893fb784cc2921d9c4aacfdce 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/account_relationship.ex
+++ b/
lib/pleroma/web/api_spec/schemas/account_relationship.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.Schemas.AccountRelationship do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.Schemas.AccountRelationship do
@@
-10,7
+10,7
@@
defmodule Pleroma.Web.ApiSpec.Schemas.AccountRelationship do
OpenApiSpex.schema(%{
title: "AccountRelationship",
OpenApiSpex.schema(%{
title: "AccountRelationship",
- description: "Re
sponse schema for relationship
",
+ description: "Re
lationship between current account and requested account
",
type: :object,
properties: %{
blocked_by: %Schema{type: :boolean},
type: :object,
properties: %{
blocked_by: %Schema{type: :boolean},
@@
-22,9
+22,11
@@
defmodule Pleroma.Web.ApiSpec.Schemas.AccountRelationship do
id: FlakeID,
muting: %Schema{type: :boolean},
muting_notifications: %Schema{type: :boolean},
id: FlakeID,
muting: %Schema{type: :boolean},
muting_notifications: %Schema{type: :boolean},
+ note: %Schema{type: :string},
requested: %Schema{type: :boolean},
showing_reblogs: %Schema{type: :boolean},
requested: %Schema{type: :boolean},
showing_reblogs: %Schema{type: :boolean},
- subscribing: %Schema{type: :boolean}
+ subscribing: %Schema{type: :boolean},
+ notifying: %Schema{type: :boolean}
},
example: %{
"blocked_by" => false,
},
example: %{
"blocked_by" => false,
@@
-36,9
+38,11
@@
defmodule Pleroma.Web.ApiSpec.Schemas.AccountRelationship do
"id" => "9tKi3esbG7OQgZ2920",
"muting" => false,
"muting_notifications" => false,
"id" => "9tKi3esbG7OQgZ2920",
"muting" => false,
"muting_notifications" => false,
+ "note" => "",
"requested" => false,
"showing_reblogs" => true,
"requested" => false,
"showing_reblogs" => true,
- "subscribing" => false
+ "subscribing" => false,
+ "notifying" => false
}
})
end
}
})
end