Status schema: Add parent_visible.

This commit is contained in:
lain 2020-06-24 14:33:00 +02:00
parent 1702239428
commit 4c5fb831b3
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
thread_muted: %Schema{ thread_muted: %Schema{
type: :boolean, type: :boolean,
description: "`true` if the thread the post belongs to is muted" 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"
} }
} }
}, },