Status schema: Add parent_visible.
authorlain <lain@soykaf.club>
Wed, 24 Jun 2020 12:33:00 +0000 (14:33 +0200)
committerlain <lain@soykaf.club>
Wed, 24 Jun 2020 12:33:00 +0000 (14:33 +0200)
lib/pleroma/web/api_spec/schemas/status.ex

index 8b87cb25b24d22291cf4e17bc6fce36243b6feb1..28cde963e61ca9d51a9fadc007b50b4434c69303 100644 (file)
@@ -184,6 +184,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"
           }
         }
       },