Show edited_at in MastodonAPI/show

This commit is contained in:
Tusooa Zhu 2022-06-03 21:47:40 -04:00
commit 3249ac1f12
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
3 changed files with 33 additions and 0 deletions

View file

@ -73,6 +73,12 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
format: "date-time",
description: "The date when this status was created"
},
edited_at: %Schema{
type: :string,
format: "date-time",
nullable: true,
description: "The date when this status was last edited"
},
emojis: %Schema{
type: :array,
items: Emoji,