summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2025-06-01 17:19:59 +0200
committerGravatar grunfink2025-06-01 17:19:59 +0200
commit4c7cc83708a0e335b383071df7594e13c5f05798 (patch)
tree229c417e9c44c394d5a06417d697225807ea2bbb
parentUpdated documentation. (diff)
downloadpenes-snac2-4c7cc83708a0e335b383071df7594e13c5f05798.tar.gz
penes-snac2-4c7cc83708a0e335b383071df7594e13c5f05798.tar.xz
penes-snac2-4c7cc83708a0e335b383071df7594e13c5f05798.zip
Updated documentation.
-rw-r--r--doc/snac.137
1 files changed, 24 insertions, 13 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index d4e9af7..583fe2f 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -422,19 +422,30 @@ chatbots, interactive textual games or whatever. The
422.Pa examples/ 422.Pa examples/
423subdirectory contains a tiny Python program that implements an auto-follower 423subdirectory contains a tiny Python program that implements an auto-follower
424for every new follow. The JSON notification object includes the following data: 424for every new follow. The JSON notification object includes the following data:
425.Bd -literal -offset indent 425.Bl -tag -offset indent
426id: a unique notification identifier 426.It id
427actor: the origin actor id 427a unique notification identifier
428target: the target actor id 428.It actor
429date: the notification date 429the origin actor id
430message: the full ActivityPub action JSON object 430.It target
431objid: the object identifier (extracted from message, may be null) 431the target actor id
432type: the action type (extracted from message) 432.It date
433utype: the action subtype (extracted from message, may be null) 433the notification date
434uid: the user identifier (account name) 434.It message
435basedir: the server base directory 435the full ActivityPub action JSON object
436baseurl: the server base URL 436.It objid
437.Ed 437the object identifier (extracted from message, may be null)
438.It type
439the action type (extracted from message)
440.It utype
441the action subtype (extracted from message, may be null)
442.It uid
443the user identifier (account name)
444.It basedir
445the server base directory
446.It baseurl
447the server base URL
448.El
438.Pp 449.Pp
439.Sh ENVIRONMENT 450.Sh ENVIRONMENT
440.Bl -tag -width Ds 451.Bl -tag -width Ds