projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/develop' into restrict-domain
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
status.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/status.ex
b/lib/pleroma/web/api_spec/schemas/status.ex
index 8b87cb25b24d22291cf4e17bc6fce36243b6feb1..947e42890744d80117615417361bd881f1e9c709 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/status.ex
+++ b/
lib/pleroma/web/api_spec/schemas/status.ex
@@
-62,6
+62,11
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Status do
}
},
content: %Schema{type: :string, format: :html, description: "HTML-encoded status content"},
}
},
content: %Schema{type: :string, format: :html, description: "HTML-encoded status content"},
+ text: %Schema{
+ type: :string,
+ description: "Original unformatted content in plain text",
+ nullable: true
+ },
created_at: %Schema{
type: :string,
format: "date-time",
created_at: %Schema{
type: :string,
format: "date-time",
@@
-184,6
+189,10
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Status do
thread_muted: %Schema{
type: :boolean,
description: "`true` if the thread the post belongs to is muted"
thread_muted: %Schema{
type: :boolean,
description: "`true` if the thread the post belongs to is muted"
+ },
+ parent_visible: %Schema{
+ type: :boolean,
+ description: "`true` if the parent post is visible to the user"
}
}
},
}
}
},