Max receives a follow request

This UseCase shows the flow of receiving a follow activity.

The UseCase describes the flow of a Activity-Pub Server that implements fep-4ccd

uc_follow1_follow-follow_activity
{
   "@context":"https://www.w3.org/ns/activitystreams",
   "id":"https://activitypub.academy/4d4070a9-522f-4117-ac66-e8d7dd8e2751",
   "type":"Follow",
   "actor":"https://activitypub.academy/users/john",
   "object":"https://dev.rdf-pub.org/resource/max"
}
uc follow2 undoFollow diagram1
Figure 1. uc_follow2_undoFollow: Max sends undo/follow request to jon
  1. Some Activity-Pub Server sends a as:follow request to the inbox of max.

  2. rdf-pub delegates the incomming activity to UcS2SFollow

  3. The Activity-Pub Server 'rdfpub.org' sends a S2S as:Follow Activity to the inbox of @jon@mast.org

  4. The Activity-Pub Server 'rdfpub.org' add the as:Follow Activity to the pendingFollowers collection of Actor @max@rdfpub.org.