1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Add documentation for likes and shares collections on statuses (#1542)

This commit is contained in:
Claire 2024-10-08 11:33:32 +02:00 committed by GitHub
parent 958ed69559
commit eadb8b98cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -166,6 +166,18 @@ attachment[].blurhash
replies
: A Collection of statuses that are in reply to the current status. Up to 5 replies from the same server will be fetched upon discovery of a remote status, in order to resolve threads more fully. On Mastodon's side, the first page contains self-replies, and additional pages contain replies from other people.
likes
: A Collection used to represent `Like` activities received for this status. The actual activities are not exposed by Mastodon at this time.
likes.totalItems
: The number of likes this status has received.
shares
: A Collection used to represent `Announce` activities received for this status. The actual activities are not exposed by Mastodon at this time.
shares.totalItems
: The number of `Announce` activities received for this status.
#### Poll-specific properties
endTime