Skip to content

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/RBUqg_1WOp4",
  "published": "2024-12-02T18:32:29Z",
  "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/M4bI822bAeM",
    "published": "2024-12-02T18:32:29Z",
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "https://www.w3.org/ns/activitystreams#Public"
    },
    "context": "http://pasture-one-actor/actor/M4bI822bAeM",
    "conversation_id": 1203445859,
    "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
  },
  "uri": "http://pasture-one-actor/actor/M4bI822bAeM",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "AodxsKW1n6YVpfsCps",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/M4bI822bAeM",
  "emojis": [],
  "content": "https://www.w3.org/ns/activitystreams#Public",
  "created_at": "2024-12-02T18:32:29.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "media_attachments": []
}

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://akkoma/users/witch",
    "as:Public"
  ],
  "id": "http://pasture-one-actor/actor/tgl17p_K9Ag",
  "published": "2024-12-02T18:32:30Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://akkoma/users/witch"
    ],
    "id": "http://pasture-one-actor/actor/bgifzN-LKpo",
    "published": "2024-12-02T18:32:30Z",
    "content": "as:Public"
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "as:Public"
    },
    "context": "http://pasture-one-actor/actor/bgifzN-LKpo",
    "conversation_id": 1083497356,
    "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
  },
  "uri": "http://pasture-one-actor/actor/bgifzN-LKpo",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "AodxsOQVFaVrxhJqmO",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/bgifzN-LKpo",
  "emojis": [],
  "content": "as:Public",
  "created_at": "2024-12-02T18:32:30.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "media_attachments": []
}

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/jTxN3dyzjFA",
  "published": "2024-12-02T18:32:30Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "Public",
      "http://akkoma/users/witch"
    ],
    "id": "http://pasture-one-actor/actor/oTY7dE8RLGw",
    "published": "2024-12-02T18:32:30Z",
    "content": "Public"
  }
}
akkoma
{
  "spoiler_text": "",
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "Public"
    },
    "context": "http://pasture-one-actor/actor/oTY7dE8RLGw",
    "conversation_id": 2092801491,
    "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
  },
  "uri": "http://pasture-one-actor/actor/oTY7dE8RLGw",
  "favourites_count": 0,
  "language": null,
  "quote": null,
  "text": null,
  "bookmarked": false,
  "reblog": null,
  "id": "AodxsSJCof3K0Dw4xc",
  "in_reply_to_account_id": null,
  "card": null,
  "in_reply_to_id": null,
  "replies_count": 0,
  "mentions": [
    {
      "acct": "witch",
      "id": "AodxhMTv1uCjgLZqWu",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "url": "http://pasture-one-actor/actor/oTY7dE8RLGw",
  "emojis": [],
  "content": "Public",
  "created_at": "2024-12-02T18:32:30.000Z",
  "muted": false,
  "favourited": false,
  "quote_id": null,
  "edited_at": null,
  "poll": null,
  "application": null,
  "akkoma": {
    "source": null
  },
  "sensitive": false,
  "visibility": "public",
  "emoji_reactions": [],
  "reblogs_count": 0,
  "reblogged": false,
  "tags": [],
  "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-12-02T18:32:16.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": "Aodxr6yQec7FXkZoYK",
    "last_status_at": "2024-12-02",
    "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"
  },
  "media_attachments": []
}