Public addressing¶
Public addressing is discussed here. The essential point here is that
Public
, as:Public
, and https://www.w3.org/ns/activitystreams#Public
are equivalent as JSON-LD and thus should be treated in the same way
by Fediverse applications.
Examples¶
Example 1¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/daiwmFvXyvU",
"published": "2025-09-09T12:26:18Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/HkoAQgd-uwY",
"published": "2025-09-09T12:26:18Z",
"content": "https://www.w3.org/ns/activitystreams#Public",
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 51,
"user_id": 2,
"community_id": 1,
"title": "[Microblog] https://www",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:26:18.796956Z",
"ap_id": "http://pasture-one-actor/object/HkoAQgd-uwY",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "https://www.w3.org/ns/activitystreams#Public"
}
Example 2¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pyfedi.local/c/pie",
"as:Public"
],
"id": "http://pasture-one-actor/activity/Jcf0Rbc63Ws",
"published": "2025-09-09T12:26:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/wthBhGwgX7s",
"published": "2025-09-09T12:26:19Z",
"content": "as:Public",
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 52,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:26:19.576378Z",
"ap_id": "http://pasture-one-actor/object/wthBhGwgX7s",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "as:Public"
}
Example 3¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/gLqR4TqcUtM",
"published": "2025-09-09T12:26:20Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/XtImEz_sBW8",
"published": "2025-09-09T12:26:20Z",
"content": "Public",
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 53,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:26:20.398795Z",
"ap_id": "http://pasture-one-actor/object/XtImEz_sBW8",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "Public"
}