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://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ncZq8gU06r8",
"published": "2025-03-03T10:12:56Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/GQyOqzFxVfc",
"published": "2025-03-03T10:12:56Z",
"content": "https://www.w3.org/ns/activitystreams#Public"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "https://www.w3.org/ns/activitystreams#Public"
},
"context": "http://pasture-one-actor/actor/mXG-uXDFeUY",
"conversation_id": 965884886,
"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
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/actor/mXG-uXDFeUY",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "Arfr9pbtIisWLUQJcG",
"text": null,
"mentions": [
{
"acct": "witch",
"id": "ArfqzLZ1hw24Ui97LM",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "https://www.w3.org/ns/activitystreams#Public",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/actor/mXG-uXDFeUY",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"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": "2025-03-03T10:02:43.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": "Arfr8aKsbaWEgQs8uW",
"last_status_at": "2025-03-03",
"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"
},
"reblog": null,
"language": null,
"created_at": "2025-03-03T10:02:56.000Z",
"muted": false,
"replies_count": 0
}
pleroma
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2025-03-03T10:11:19.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "ArfruB7jxgSRTQ5VKK",
"last_status_at": "2025-03-03",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"avatar_description": "",
"background_image": null,
"favicon": null,
"header_description": "",
"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,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 12,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "https://www.w3.org/ns/activitystreams#Public",
"created_at": "2025-03-03T10:12:56.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "Arfs39RpYutSsjlOpk",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [],
"mentions": [
{
"acct": "full",
"id": "ArfrmeiVn8fw0FNYY4",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"bookmark_folder": null,
"content": {
"text/plain": "https://www.w3.org/ns/activitystreams#Public"
},
"context": "http://pasture-one-actor/actor/GQyOqzFxVfc",
"conversation_id": 366788702,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"list_id": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"quotes_count": 0,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/GQyOqzFxVfc",
"url": "http://pasture-one-actor/actor/GQyOqzFxVfc",
"visibility": "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://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/KvwmOGf27c4",
"published": "2025-03-03T10:12:57Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"as:Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/PNx1A4sBfS0",
"published": "2025-03-03T10:12:57Z",
"content": "as:Public"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "as:Public"
},
"context": "http://pasture-one-actor/actor/WpF4qbwwYis",
"conversation_id": 567518398,
"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
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/actor/WpF4qbwwYis",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "Arfr9tW0mWYISPhg0W",
"text": null,
"mentions": [
{
"acct": "witch",
"id": "ArfqzLZ1hw24Ui97LM",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "as:Public",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/actor/WpF4qbwwYis",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"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": "2025-03-03T10:02:43.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": "Arfr8aKsbaWEgQs8uW",
"last_status_at": "2025-03-03",
"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"
},
"reblog": null,
"language": null,
"created_at": "2025-03-03T10:02:57.000Z",
"muted": false,
"replies_count": 0
}
no result
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://pleroma/users/full",
"Public"
],
"id": "http://pasture-one-actor/actor/AwIjDwwyZZQ",
"published": "2025-03-03T10:13:08Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/mib7e-WcsGE",
"published": "2025-03-03T10:13:08Z",
"content": "Public"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "Public"
},
"context": "http://pasture-one-actor/actor/h1z14eLqcg0",
"conversation_id": 1272621975,
"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
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/actor/h1z14eLqcg0",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "Arfr9xXvnKSqxWdGYS",
"text": null,
"mentions": [
{
"acct": "witch",
"id": "ArfqzLZ1hw24Ui97LM",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "Public",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/actor/h1z14eLqcg0",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"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": "2025-03-03T10:02:43.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": "Arfr8aKsbaWEgQs8uW",
"last_status_at": "2025-03-03",
"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"
},
"reblog": null,
"language": null,
"created_at": "2025-03-03T10:02:58.000Z",
"muted": false,
"replies_count": 0
}
no result