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://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/activity/5C1ykeqWlPE",
"published": "2025-10-04T14:07:11Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/object/84jKW1ToE7k",
"published": "2025-10-04T14:07:11Z",
"content": "https://www.w3.org/ns/activitystreams#Public",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01K6QRRJMRWZG22E3BE2RG73AW",
"created_at": "2025-10-04T14:07:11.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/84jKW1ToE7k",
"url": "http://pasture-one-actor/object/84jKW1ToE7k",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "https://www.w3.org/ns/activitystreams#Public",
"reblog": null,
"account": {
"id": "01K6QRQPNK1W7YHAVDDKPZ7HF9",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-10-04T14:06:42.368Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon1.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon1.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 54,
"last_status_at": "2025-10-04T14:07:11.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01G2QZKQVP4B7YA57W68DKMQD8",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/activity/3Bwx2Dksc6Y",
"published": "2025-10-04T14:07:12Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/object/4S29EHlY9fI",
"published": "2025-10-04T14:07:12Z",
"content": "as:Public",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01K6QRRKM0BX4K3CJPRHYW95EK",
"created_at": "2025-10-04T14:07:12.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/4S29EHlY9fI",
"url": "http://pasture-one-actor/object/4S29EHlY9fI",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "as:Public",
"reblog": null,
"account": {
"id": "01K6QRQPNK1W7YHAVDDKPZ7HF9",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-10-04T14:06:42.368Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon1.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon1.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 55,
"last_status_at": "2025-10-04T14:07:12.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01G2QZKQVP4B7YA57W68DKMQD8",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/activity/nk3WVA7XL24",
"published": "2025-10-04T14:07:13Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/object/0E7DxtCu2-o",
"published": "2025-10-04T14:07:13Z",
"content": "Public",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
no result