Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33095569
tag.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
tag.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.Tag
do
alias
OpenApiSpex.Schema
require
OpenApiSpex
OpenApiSpex
.
schema
(%{
title
:
"Tag"
,
description
:
"Represents a hashtag used within the content of a status"
,
type
:
:object
,
properties
:
%{
name
:
%
Schema
{
type
:
:string
,
description
:
"The value of the hashtag after the
#
sign"
},
url
:
%
Schema
{
type
:
:string
,
format
:
:uri
,
description
:
"A link to the hashtag on the instance"
},
following
:
%
Schema
{
type
:
:boolean
,
description
:
"Whether the authenticated user is following the hashtag"
},
history
:
%
Schema
{
type
:
:array
,
items
:
%
Schema
{
type
:
:string
},
description
:
"A list of historical uses of the hashtag (not implemented, for compatibility only)"
}
},
example
:
%{
name
:
"cofe"
,
url
:
"https://lain.com/tag/cofe"
,
following
:
false
}
})
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 9:24 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
972028
Default Alt Text
tag.ex (1 KB)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment