diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-02 21:00:50 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-15 18:37:44 +0400 |
commit | 4f79bbbc31c10c1d55c9fee4002f36ef16b95dbf (patch) | |
tree | 1ae138def7d6828c71f2d478060b9be8de90bdc0 /lib/pleroma/web/api_spec | |
parent | b48724afcdd9d46d6533aafdea4df1cc2d23b6ae (diff) | |
download | pleroma-4f79bbbc31c10c1d55c9fee4002f36ef16b95dbf.tar.gz |
Add local-only statuses
Diffstat (limited to 'lib/pleroma/web/api_spec')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/status_operation.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/status_operation.ex b/lib/pleroma/web/api_spec/operations/status_operation.ex index d7ebde6f6..e989e4f5f 100644 --- a/lib/pleroma/web/api_spec/operations/status_operation.ex +++ b/lib/pleroma/web/api_spec/operations/status_operation.ex @@ -475,6 +475,10 @@ defmodule Pleroma.Web.ApiSpec.StatusOperation do type: :string, description: "Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`." + }, + local_only: %Schema{ + type: :boolean, + description: "Post the status as local only" } }, example: %{ |