aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas/status.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-08-05 09:43:24 -0500
committerAlex Gleason <alex@alexgleason.me>2021-08-05 11:11:24 -0500
commitb83758bd9634d4f2fb70a92159072dd44e49bb31 (patch)
tree2452e8c4e1544fc9a0ad71292901b6cd52765566 /lib/pleroma/web/api_spec/schemas/status.ex
parent2b3d7794b23aac30cf8f977009d17b1abc602d19 (diff)
parent5f5dc24027ee5cfadd226c5db2e2a2bdb0ababe0 (diff)
downloadpleroma-b83758bd9634d4f2fb70a92159072dd44e49bb31.tar.gz
Merge remote-tracking branch 'pleroma/develop' into moderators
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"
}
}
},