diff options
author | rinpatch <rin@patch.cx> | 2021-04-16 09:53:47 +0000 |
---|---|---|
committer | rinpatch <rin@patch.cx> | 2021-04-16 09:53:47 +0000 |
commit | 79376b4afb8bba0766cb3d04179aeaf4c0b7000b (patch) | |
tree | f154defcd60036f76fbaf92154f0649c2e4892f3 /lib/pleroma/web/api_spec/schemas/status.ex | |
parent | 0ababdc068f0fd7655b5f8440a5a8c9759a32fea (diff) | |
parent | 1885268c9c242aca2a51bd15ed839bd65d6a52dc (diff) | |
download | pleroma-79376b4afb8bba0766cb3d04179aeaf4c0b7000b.tar.gz |
Merge branch 'feature/521-pinned-post-federation' into 'develop'
Pinned posts federation
Closes #521
See merge request pleroma/pleroma!3312
Diffstat (limited to 'lib/pleroma/web/api_spec/schemas/status.ex')
-rw-r--r-- | lib/pleroma/web/api_spec/schemas/status.ex | 7 |
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" } } }, |