projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MastoAPI: Show source field when deleting
[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..a38b5b40fea0fbabb3773cea2003eb6023774aa3 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",