Merge branch 'develop' into refactor/discoverable_user_field
[akkoma] / lib / pleroma / web / api_spec / schemas / status.ex
index a38b5b40fea0fbabb3773cea2003eb6023774aa3..52b870d63f1c8f50e1de6f890f78f8931bf4fe07 100644 (file)
@@ -189,6 +189,10 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
           thread_muted: %Schema{
             type: :boolean,
             description: "`true` if the thread the post belongs to is muted"
+          },
+          parent_visible: %Schema{
+            type: :boolean,
+            description: "`true` if the parent post is visible to the user"
           }
         }
       },
@@ -280,7 +284,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
         "source" => %{
           "fields" => [],
           "note" => "Tester Number 6",
-          "pleroma" => %{"actor_type" => "Person", "discoverable" => false},
+          "pleroma" => %{"actor_type" => "Person", "is_discoverable" => false},
           "sensitive" => false
         },
         "statuses_count" => 1,