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": [
"http://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/ppIAj47a7qM",
"published": "2025-09-08T17:27:38Z",
"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/Ton0xaOdyVI",
"published": "2025-09-08T17:27:38Z",
"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-08T17:27:38.885936Z",
"ap_id": "http://pasture-one-actor/object/Ton0xaOdyVI",
"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": [
"as:Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/wrYP5iqSvMg",
"published": "2025-09-08T17:27:39Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/mt-j77vVHoQ",
"published": "2025-09-08T17:27:39Z",
"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-08T17:27:39.719603Z",
"ap_id": "http://pasture-one-actor/object/mt-j77vVHoQ",
"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": [
"http://pyfedi.local/c/pie",
"Public"
],
"id": "http://pasture-one-actor/activity/edTxGsu2apo",
"published": "2025-09-08T17:27:40Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/ns0uRxceffE",
"published": "2025-09-08T17:27:40Z",
"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-08T17:27:40.531424Z",
"ap_id": "http://pasture-one-actor/object/ns0uRxceffE",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "Public"
}