Return quote_url through the API, don't render quotes more than 1 level deep

This commit is contained in:
Alex Gleason 2022-01-23 13:55:25 -06:00 • committed by tusooa
commit 80ab2572a4
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
4 changed files with 41 additions and 4 deletions

View file

@ -198,6 +198,12 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
nullable: true,
description: "Quoted status (if any)"
},
quote_url: %Schema{
type: :string,
format: :uri,
nullable: true,
description: "URL of the quoted status"
},
local: %Schema{
type: :boolean,
description: "`true` if the post was made on the local instance"