Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F12551962
account_field.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
935 B
Referenced Files
None
Subscribers
None
account_field.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Web.ApiSpec.Schemas.AccountField
do
alias
OpenApiSpex.Schema
require
OpenApiSpex
OpenApiSpex
.
schema
(%{
title
:
"AccountField"
,
description
:
"Response schema for account custom fields"
,
type
:
:object
,
properties
:
%{
name
:
%
Schema
{
type
:
:string
},
value
:
%
Schema
{
type
:
:string
,
format
:
:html
},
verified_at
:
%
Schema
{
type
:
:string
,
format
:
:"date-time"
,
nullable
:
true
}
},
example
:
%{
"name"
=>
"Website"
,
"value"
=>
"<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>"
,
"verified_at"
=>
"2019-08-29T04:14:55.571+00:00"
}
})
end
File Metadata
Details
Attached
Mime Type
text/html
Expires
Fri, Nov 14, 11:56 PM (19 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
632925
Default Alt Text
account_field.ex (935 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment