From c5361e5548642b70575de1590f5f4f3017fde85b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 28 Jun 2022 12:23:25 +0100 Subject: [PATCH] Follow request example --- specification/activitypub.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/activitypub.md b/specification/activitypub.md index 21abaea3c..d62b6f8a7 100644 --- a/specification/activitypub.md +++ b/specification/activitypub.md @@ -873,6 +873,18 @@ The `Follow` activity is used to subscribe to the activities of another actor. The side effect of receiving this in an **outbox** is that the server *SHOULD* add the `object` to the `actor`'s `following` Collection when and only if an `Accept` activity is subsequently received with this `Follow` activity as its object. +### Example X +Follow request sent by Misha to Alice. +``` json +{ + "@context": "https://www.w3.org/ns/activitystreams", + "id": "https://anotherinstance/users/misha/statuses/67839359385539", + "type": "Follow", + "actor": "https://anotherinstance/users/misha", + "object": "https://example.com/users/alice" +} +``` + ### 6.6 Add Activity Upon receipt of an `Add` activity into the **outbox**, the server *SHOULD* add the `object` to the collection specified in the `target` property, unless: