From eadb8b98cc85efd6e7eb38a468931cdb3855de93 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 8 Oct 2024 11:33:32 +0200 Subject: [PATCH] Add documentation for `likes` and `shares` collections on statuses (#1542) --- content/en/spec/activitypub.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/en/spec/activitypub.md b/content/en/spec/activitypub.md index 1d9884d..bcd33fe 100644 --- a/content/en/spec/activitypub.md +++ b/content/en/spec/activitypub.md @@ -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