aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas/status.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-16 13:22:26 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-16 13:22:26 -0500
commit7ac4da8dd4471455c7d243983d0e1ca6fa32a14e (patch)
treee0bf3be13a4e23ae5e16d08d08287b26fea3e0b3 /lib/pleroma/web/api_spec/schemas/status.ex
parent230ad82dadf013cb56909d1e8df2a2d652c47068 (diff)
parent745375bdcf2679ff803dd4ebc4a8313a7b5fb157 (diff)
downloadpleroma-7ac4da8dd4471455c7d243983d0e1ca6fa32a14e.tar.gz
Merge remote-tracking branch 'pleroma/develop' into gitignore-runtime-exs
Diffstat (limited to 'lib/pleroma/web/api_spec/schemas/status.ex')
-rw-r--r--lib/pleroma/web/api_spec/schemas/status.ex7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/status.ex b/lib/pleroma/web/api_spec/schemas/status.ex
index 42fa98718..3d042dc19 100644
--- a/lib/pleroma/web/api_spec/schemas/status.ex
+++ b/lib/pleroma/web/api_spec/schemas/status.ex
@@ -194,6 +194,13 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
parent_visible: %Schema{
type: :boolean,
description: "`true` if the parent post is visible to the user"
+ },
+ pinned_at: %Schema{
+ type: :string,
+ format: "date-time",
+ nullable: true,
+ description:
+ "A datetime (ISO 8601) that states when the post was pinned or `null` if the post is not pinned"
}
}
},