Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F21907655
account_relationship.ex
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
account_relationship.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Web.ApiSpec.Schemas.AccountRelationship
do
alias
OpenApiSpex.Schema
alias
Pleroma.Web.ApiSpec.Schemas.FlakeID
require
OpenApiSpex
OpenApiSpex
.
schema
(%{
title
:
"AccountRelationship"
,
description
:
"Response schema for relationship"
,
type
:
:object
,
properties
:
%{
blocked_by
:
%
Schema
{
type
:
:boolean
},
blocking
:
%
Schema
{
type
:
:boolean
},
domain_blocking
:
%
Schema
{
type
:
:boolean
},
endorsed
:
%
Schema
{
type
:
:boolean
},
followed_by
:
%
Schema
{
type
:
:boolean
},
following
:
%
Schema
{
type
:
:boolean
},
id
:
FlakeID
,
muting
:
%
Schema
{
type
:
:boolean
},
muting_notifications
:
%
Schema
{
type
:
:boolean
},
requested
:
%
Schema
{
type
:
:boolean
},
showing_reblogs
:
%
Schema
{
type
:
:boolean
},
subscribing
:
%
Schema
{
type
:
:boolean
}
},
example
:
%{
"blocked_by"
=>
false
,
"blocking"
=>
false
,
"domain_blocking"
=>
false
,
"endorsed"
=>
false
,
"followed_by"
=>
false
,
"following"
=>
false
,
"id"
=>
"9tKi3esbG7OQgZ2920"
,
"muting"
=>
false
,
"muting_notifications"
=>
false
,
"requested"
=>
false
,
"showing_reblogs"
=>
true
,
"subscribing"
=>
false
}
})
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 28, 1:42 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
734657
Default Alt Text
account_relationship.ex (1 KB)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment