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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/0pnnwGBMiSo",
"published": "2024-10-25T18:04:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/DERrDb9PK4U",
"published": "2024-10-25T18:04:21Z",
"content": "https://www.w3.org/ns/activitystreams#Public"
}
}
akkoma
{
"muted": false,
"quote_id": null,
"mentions": [
{
"acct": "witch",
"id": "AnN9gifsWC2uqOgFw8",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"pleroma": {
"content": {
"text/plain": "https://www.w3.org/ns/activitystreams#Public"
},
"context": "http://pasture-one-actor/actor/DERrDb9PK4U",
"conversation_id": 1678032319,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"emojis": [],
"text": null,
"uri": "http://pasture-one-actor/actor/DERrDb9PK4U",
"reblog": null,
"visibility": "public",
"quote": null,
"reblogged": false,
"id": "AnN9q7V5KDmnSOCgAC",
"replies_count": 0,
"in_reply_to_account_id": null,
"emoji_reactions": [],
"url": "http://pasture-one-actor/actor/DERrDb9PK4U",
"media_attachments": [],
"poll": null,
"akkoma": {
"source": null
},
"card": null,
"reblogs_count": 0,
"pinned": false,
"content": "https://www.w3.org/ns/activitystreams#Public",
"in_reply_to_id": null,
"created_at": "2024-10-25T18:04:21.000Z",
"bookmarked": false,
"language": null,
"application": null,
"sensitive": false,
"favourited": false,
"tags": [],
"edited_at": null,
"spoiler_text": "",
"favourites_count": 0,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:04:07.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AnN9oq3igbxL4dnD2e",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 20,
"url": "http://pasture-one-actor/actor",
"username": "actor"
}
}
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/Z5e6IgRFF9k",
"published": "2024-10-25T18:04:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/WGLDyRUN4Uo",
"published": "2024-10-25T18:04:22Z",
"content": "as:Public"
}
}
akkoma
{
"muted": false,
"quote_id": null,
"mentions": [
{
"acct": "witch",
"id": "AnN9gifsWC2uqOgFw8",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"pleroma": {
"content": {
"text/plain": "as:Public"
},
"context": "http://pasture-one-actor/actor/WGLDyRUN4Uo",
"conversation_id": 885578167,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"emojis": [],
"text": null,
"uri": "http://pasture-one-actor/actor/WGLDyRUN4Uo",
"reblog": null,
"visibility": "public",
"quote": null,
"reblogged": false,
"id": "AnN9qBYmER7G2zxgTQ",
"replies_count": 0,
"in_reply_to_account_id": null,
"emoji_reactions": [],
"url": "http://pasture-one-actor/actor/WGLDyRUN4Uo",
"media_attachments": [],
"poll": null,
"akkoma": {
"source": null
},
"card": null,
"reblogs_count": 0,
"pinned": false,
"content": "as:Public",
"in_reply_to_id": null,
"created_at": "2024-10-25T18:04:22.000Z",
"bookmarked": false,
"language": null,
"application": null,
"sensitive": false,
"favourited": false,
"tags": [],
"edited_at": null,
"spoiler_text": "",
"favourites_count": 0,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:04:07.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AnN9oq3igbxL4dnD2e",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 21,
"url": "http://pasture-one-actor/actor",
"username": "actor"
}
}
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/NJm7a4dhMWA",
"published": "2024-10-25T18:04:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/u5YUoz2Paic",
"published": "2024-10-25T18:04:22Z",
"content": "Public"
}
}
akkoma
{
"muted": false,
"quote_id": null,
"mentions": [
{
"acct": "witch",
"id": "AnN9gifsWC2uqOgFw8",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"pleroma": {
"content": {
"text/plain": "Public"
},
"context": "http://pasture-one-actor/actor/u5YUoz2Paic",
"conversation_id": 718663774,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"emojis": [],
"text": null,
"uri": "http://pasture-one-actor/actor/u5YUoz2Paic",
"reblog": null,
"visibility": "public",
"quote": null,
"reblogged": false,
"id": "AnN9qFi8nYz0vCNDcm",
"replies_count": 0,
"in_reply_to_account_id": null,
"emoji_reactions": [],
"url": "http://pasture-one-actor/actor/u5YUoz2Paic",
"media_attachments": [],
"poll": null,
"akkoma": {
"source": null
},
"card": null,
"reblogs_count": 0,
"pinned": false,
"content": "Public",
"in_reply_to_id": null,
"created_at": "2024-10-25T18:04:22.000Z",
"bookmarked": false,
"language": null,
"application": null,
"sensitive": false,
"favourited": false,
"tags": [],
"edited_at": null,
"spoiler_text": "",
"favourites_count": 0,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-10-25T18:04:07.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AnN9oq3igbxL4dnD2e",
"last_status_at": "2024-10-25",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 22,
"url": "http://pasture-one-actor/actor",
"username": "actor"
}
}