From f00f1317abdec6375e7a997aced581b095de755f Mon Sep 17 00:00:00 2001 From: silverpill Date: Fri, 7 Feb 2025 10:08:08 +0000 Subject: [PATCH] FEP-c0e0: Describe emojiReactions collection (#488) - Added section about `emojiReactions` collection. - Renamed context file. - Added type attribute to proposal metadata. Reviewed-on: https://codeberg.org/fediverse/fep/pulls/488 Co-authored-by: silverpill Co-committed-by: silverpill --- fep/c0e0/context.jsonld | 5 ----- fep/c0e0/fep-c0e0.jsonld | 3 ++- fep/c0e0/fep-c0e0.md | 9 ++++++++- 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 fep/c0e0/context.jsonld diff --git a/fep/c0e0/context.jsonld b/fep/c0e0/context.jsonld deleted file mode 100644 index 2125cc2..0000000 --- a/fep/c0e0/context.jsonld +++ /dev/null @@ -1,5 +0,0 @@ -{ - "@context": { - "EmojiReact": "http://litepub.social/ns#EmojiReact" - } -} diff --git a/fep/c0e0/fep-c0e0.jsonld b/fep/c0e0/fep-c0e0.jsonld index 2125cc2..ba8c3d2 100644 --- a/fep/c0e0/fep-c0e0.jsonld +++ b/fep/c0e0/fep-c0e0.jsonld @@ -1,5 +1,6 @@ { "@context": { - "EmojiReact": "http://litepub.social/ns#EmojiReact" + "EmojiReact": "http://litepub.social/ns#EmojiReact", + "emojiReactions": "http://fedibird.com/ns#emojiReactions" } } diff --git a/fep/c0e0/fep-c0e0.md b/fep/c0e0/fep-c0e0.md index 550c950..e6f2527 100644 --- a/fep/c0e0/fep-c0e0.md +++ b/fep/c0e0/fep-c0e0.md @@ -1,6 +1,7 @@ --- slug: "c0e0" authors: silverpill <@silverpill@mitra.social> +type: implementation status: DRAFT dateReceived: 2024-08-08 discussionsTo: https://socialhub.activitypub.rocks/t/fep-c0e0-emoji-reactions/4443 @@ -118,9 +119,15 @@ Emoji reactions can be retracted using a standard `Undo` activity: } ``` +## `emojiReactions` collection + +The list of emoji reactions to an object can be exposed using the `emojiReactions` property. Its full IRI is `http://fedibird.com/ns#emojiReactions`. + +The URL specified by this property MUST resolve to a `Collection` object containing `Like` (with `content`) and `EmojiReact` activities. + ## Implementations -This document is based on implementations of emoji reactions in Misskey and Pleroma. +This document is based on implementations of emoji reactions in Misskey, Pleroma and Fedibird. ## References