diff options
| author | 2025-06-01 17:19:59 +0200 | |
|---|---|---|
| committer | 2025-06-01 17:19:59 +0200 | |
| commit | 4c7cc83708a0e335b383071df7594e13c5f05798 (patch) | |
| tree | 229c417e9c44c394d5a06417d697225807ea2bbb | |
| parent | Updated documentation. (diff) | |
| download | penes-snac2-4c7cc83708a0e335b383071df7594e13c5f05798.tar.gz penes-snac2-4c7cc83708a0e335b383071df7594e13c5f05798.tar.xz penes-snac2-4c7cc83708a0e335b383071df7594e13c5f05798.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.1 | 37 |
1 files changed, 24 insertions, 13 deletions
| @@ -422,19 +422,30 @@ chatbots, interactive textual games or whatever. The | |||
| 422 | .Pa examples/ | 422 | .Pa examples/ |
| 423 | subdirectory contains a tiny Python program that implements an auto-follower | 423 | subdirectory contains a tiny Python program that implements an auto-follower |
| 424 | for every new follow. The JSON notification object includes the following data: | 424 | for every new follow. The JSON notification object includes the following data: |
| 425 | .Bd -literal -offset indent | 425 | .Bl -tag -offset indent |
| 426 | id: a unique notification identifier | 426 | .It id |
| 427 | actor: the origin actor id | 427 | a unique notification identifier |
| 428 | target: the target actor id | 428 | .It actor |
| 429 | date: the notification date | 429 | the origin actor id |
| 430 | message: the full ActivityPub action JSON object | 430 | .It target |
| 431 | objid: the object identifier (extracted from message, may be null) | 431 | the target actor id |
| 432 | type: the action type (extracted from message) | 432 | .It date |
| 433 | utype: the action subtype (extracted from message, may be null) | 433 | the notification date |
| 434 | uid: the user identifier (account name) | 434 | .It message |
| 435 | basedir: the server base directory | 435 | the full ActivityPub action JSON object |
| 436 | baseurl: the server base URL | 436 | .It objid |
| 437 | .Ed | 437 | the object identifier (extracted from message, may be null) |
| 438 | .It type | ||
| 439 | the action type (extracted from message) | ||
| 440 | .It utype | ||
| 441 | the action subtype (extracted from message, may be null) | ||
| 442 | .It uid | ||
| 443 | the user identifier (account name) | ||
| 444 | .It basedir | ||
| 445 | the server base directory | ||
| 446 | .It baseurl | ||
| 447 | the 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 |