Add API types for status and related objects (#29792)
This commit is contained in:
parent
07635228e2
commit
e47a3d00fe
7 changed files with 143 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
class REST::StatusSerializer < ActiveModel::Serializer
|
||||
include FormattingHelper
|
||||
|
||||
# Please update `app/javascript/mastodon/api_types/statuses.ts` when making changes to the attributes
|
||||
|
||||
attributes :id, :created_at, :in_reply_to_id, :in_reply_to_account_id,
|
||||
:sensitive, :spoiler_text, :visibility, :language,
|
||||
:uri, :url, :replies_count, :reblogs_count,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue