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": [
    "http://akkoma/users/witch",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/tFyMhq-GhTo",
  "published": "2024-10-30T15:29:49Z",
  "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/DH4AjY8cIm8",
    "published": "2024-10-30T15:29:49Z",
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnXISyB7eVvV9xUBKS",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "https://www.w3.org/ns/activitystreams#Public"
    },
    "context": "http://pasture-one-actor/actor/DH4AjY8cIm8",
    "conversation_id": 1090420345,
    "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": [],
  "uri": "http://pasture-one-actor/actor/DH4AjY8cIm8",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnXIcJXRjFOdtfWavo",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/DH4AjY8cIm8",
  "media_attachments": [],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": 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-30T15:29:49.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-30T15:29:35.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": "AnXIb3A18UJEoPxmaG",
    "last_status_at": "2024-10-30",
    "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"
  }
}
gotosocial
{
  "id": "01JBEZW508GY3ZMEMTJ65WWM1B",
  "created_at": "2024-10-30T15:14:29.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/actor/viY-vmoHgTU",
  "url": "http://pasture-one-actor/actor/viY-vmoHgTU",
  "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": "01JBEZVRRYW1N66XSEBDY2JJ1Y",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": true,
    "discoverable": false,
    "bot": false,
    "created_at": "2024-10-30T15:14:16.490Z",
    "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": 20,
    "last_status_at": "2024-10-30T15:14:29.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [
    {
      "id": "01VX34CC6NW4GW1G1W6MP6YSN1",
      "username": "cookie",
      "url": "http://gotosocial/@cookie",
      "acct": "cookie"
    }
  ],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null
}
misskey
{
  "id": "9zzlb01sdydq000r",
  "createdAt": "2024-10-30T15:22:40.000Z",
  "userId": "9zzlaq38dydq0002",
  "user": {
    "id": "9zzlaq38dydq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "https://www.w3.org/ns/activitystreams#Public",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/HZhJbA6FDos",
  "clippedCount": 0
}

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/TPsBGx1fhHc",
  "published": "2024-10-30T15:29:49Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://akkoma/users/witch"
    ],
    "id": "http://pasture-one-actor/actor/WSSvhwU-cWo",
    "published": "2024-10-30T15:29:49Z",
    "content": "as:Public"
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnXISyB7eVvV9xUBKS",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "as:Public"
    },
    "context": "http://pasture-one-actor/actor/WSSvhwU-cWo",
    "conversation_id": 1250041888,
    "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": [],
  "uri": "http://pasture-one-actor/actor/WSSvhwU-cWo",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnXIcNZiijamPscT20",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/WSSvhwU-cWo",
  "media_attachments": [],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": null,
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "as:Public",
  "in_reply_to_id": null,
  "created_at": "2024-10-30T15:29:49.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-30T15:29:35.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": "AnXIb3A18UJEoPxmaG",
    "last_status_at": "2024-10-30",
    "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"
  }
}
gotosocial
{
  "id": "01JBEZW508644TMHGENHZ3B4K3",
  "created_at": "2024-10-30T15:14:29.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/actor/jNopM041Lz4",
  "url": "http://pasture-one-actor/actor/jNopM041Lz4",
  "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": "01JBEZVRRYW1N66XSEBDY2JJ1Y",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": true,
    "discoverable": false,
    "bot": false,
    "created_at": "2024-10-30T15:14:16.490Z",
    "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": 21,
    "last_status_at": "2024-10-30T15:14:29.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [
    {
      "id": "01VX34CC6NW4GW1G1W6MP6YSN1",
      "username": "cookie",
      "url": "http://gotosocial/@cookie",
      "acct": "cookie"
    }
  ],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null
}
misskey
{
  "id": "9zzlb01sdydq000s",
  "createdAt": "2024-10-30T15:22:40.000Z",
  "userId": "9zzlaq38dydq0002",
  "user": {
    "id": "9zzlaq38dydq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "as:Public",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/VMTq564qzYw",
  "clippedCount": 0
}

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://akkoma/users/witch",
    "Public"
  ],
  "id": "http://pasture-one-actor/actor/aiihRz08L0E",
  "published": "2024-10-30T15:29:50Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "Public",
      "http://akkoma/users/witch"
    ],
    "id": "http://pasture-one-actor/actor/2L0JzIW6LVQ",
    "published": "2024-10-30T15:29:50Z",
    "content": "Public"
  }
}
akkoma
{
  "muted": false,
  "quote_id": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "AnXISyB7eVvV9xUBKS",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "pleroma": {
    "content": {
      "text/plain": "Public"
    },
    "context": "http://pasture-one-actor/actor/2L0JzIW6LVQ",
    "conversation_id": 1386905247,
    "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": [],
  "uri": "http://pasture-one-actor/actor/2L0JzIW6LVQ",
  "reblog": null,
  "visibility": "public",
  "quote": null,
  "reblogged": false,
  "id": "AnXIcRaZnUearh3CvA",
  "replies_count": 0,
  "in_reply_to_account_id": null,
  "emoji_reactions": [],
  "url": "http://pasture-one-actor/actor/2L0JzIW6LVQ",
  "media_attachments": [],
  "poll": null,
  "akkoma": {
    "source": null
  },
  "text": null,
  "card": null,
  "reblogs_count": 0,
  "pinned": false,
  "content": "Public",
  "in_reply_to_id": null,
  "created_at": "2024-10-30T15:29:50.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-30T15:29:35.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": "AnXIb3A18UJEoPxmaG",
    "last_status_at": "2024-10-30",
    "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"
  }
}

no result

misskey
{
  "id": "9zzlb0tkdydq000t",
  "createdAt": "2024-10-30T15:22:41.000Z",
  "userId": "9zzlaq38dydq0002",
  "user": {
    "id": "9zzlaq38dydq0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "Public",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/ltBkXfimg7E",
  "clippedCount": 0
}