1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ApiSpec.Schemas.AccountRelationship do
6 alias OpenApiSpex.Schema
7 alias Pleroma.Web.ApiSpec.Schemas.FlakeID
12 title: "AccountRelationship",
13 description: "Response schema for relationship",
16 blocked_by: %Schema{type: :boolean},
17 blocking: %Schema{type: :boolean},
18 domain_blocking: %Schema{type: :boolean},
19 endorsed: %Schema{type: :boolean},
20 followed_by: %Schema{type: :boolean},
21 following: %Schema{type: :boolean},
23 muting: %Schema{type: :boolean},
24 muting_notifications: %Schema{type: :boolean},
25 requested: %Schema{type: :boolean},
26 showing_reblogs: %Schema{type: :boolean},
27 subscribing: %Schema{type: :boolean}
30 "blocked_by" => false,
32 "domain_blocking" => false,
34 "followed_by" => false,
36 "id" => "9tKi3esbG7OQgZ2920",
38 "muting_notifications" => false,
40 "showing_reblogs" => true,
41 "subscribing" => false