|
|
@@ -422,19 +422,30 @@ chatbots, interactive textual games or whatever. The
|
|
|
.Pa examples/
|
|
|
subdirectory contains a tiny Python program that implements an auto-follower
|
|
|
for every new follow. The JSON notification object includes the following data:
|
|
|
-.Bd -literal -offset indent
|
|
|
-id: a unique notification identifier
|
|
|
-actor: the origin actor id
|
|
|
-target: the target actor id
|
|
|
-date: the notification date
|
|
|
-message: the full ActivityPub action JSON object
|
|
|
-objid: the object identifier (extracted from message, may be null)
|
|
|
-type: the action type (extracted from message)
|
|
|
-utype: the action subtype (extracted from message, may be null)
|
|
|
-uid: the user identifier (account name)
|
|
|
-basedir: the server base directory
|
|
|
-baseurl: the server base URL
|
|
|
-.Ed
|
|
|
+.Bl -tag -offset indent
|
|
|
+.It id
|
|
|
+a unique notification identifier
|
|
|
+.It actor
|
|
|
+the origin actor id
|
|
|
+.It target
|
|
|
+the target actor id
|
|
|
+.It date
|
|
|
+the notification date
|
|
|
+.It message
|
|
|
+the full ActivityPub action JSON object
|
|
|
+.It objid
|
|
|
+the object identifier (extracted from message, may be null)
|
|
|
+.It type
|
|
|
+the action type (extracted from message)
|
|
|
+.It utype
|
|
|
+the action subtype (extracted from message, may be null)
|
|
|
+.It uid
|
|
|
+the user identifier (account name)
|
|
|
+.It basedir
|
|
|
+the server base directory
|
|
|
+.It baseurl
|
|
|
+the server base URL
|
|
|
+.El
|
|
|
.Pp
|
|
|
.Sh ENVIRONMENT
|
|
|
.Bl -tag -width Ds
|