From 447c7d766551ce679402430abcb979fcfb99a6fe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 18 Aug 2022 11:58:56 +0100 Subject: [PATCH] Example emoji reaction --- specification/activitypub.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/specification/activitypub.md b/specification/activitypub.md index 1eaa5f8c3..9eecc48a4 100644 --- a/specification/activitypub.md +++ b/specification/activitypub.md @@ -205,6 +205,23 @@ Alyssa is relieved, and likes Ben's post: She POSTs this message to her outbox. (Since it's an activity, her server knows it doesn't need to wrap it in a Create object). +She reacts to Ben's post with an emoji. + +### Example X +``` json +{ + "@context": "https://www.w3.org/ns/activitystreams", + "type": "EmojiReact", + "id": "https://instancedomain/users/alyssa/statuses/64832334", + "to": ["https://chatty.example/users/ben"], + "actor": "https://instancedomain/users/alyssa", + "object": "https://chatty.example/users/ben/statuses/51086", + "content": "📖" +} +``` + +And also POSTs the reaction message to her outbox. + Feeling happy about things, she decides to post a public message to her followers. Soon the following message is blasted to all the members of her followers collection, and since it has the special Public group addressed, is generally readable by anyone. ### Example 6