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://sharkey/users/acg3ru0zh3uf0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/AMBMrMYIy_o",
  "published": "2025-09-09T12:42:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/acg3ru0zh3uf0003"
    ],
    "id": "http://pasture-one-actor/object/Wdf5uVagQB8",
    "published": "2025-09-09T12:42:24Z",
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}
pyfedi
{
  "id": 51,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] https://www",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:26:18.796956Z",
  "ap_id": "http://pasture-one-actor/object/HkoAQgd-uwY",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "https://www.w3.org/ns/activitystreams#Public"
}
sharkey
{
  "id": "acg3udmotn88001p",
  "uri": "http://pasture-one-actor/object/Wdf5uVagQB8",
  "url": "http://pasture-one-actor/object/Wdf5uVagQB8",
  "account": {
    "id": "acg3tlswtn880004",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2025-09-09T12:41:47.936Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 52,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true,
    "noindex": false,
    "group": null,
    "suspended": false,
    "limited": false
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https://www.w3.org/ns/activitystreams#Public\">www.w3.org/ns/activitystreams#Public</a></p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "https://www.w3.org/ns/activitystreams#Public",
  "created_at": "2025-09-09T12:42:24.000Z",
  "edited_at": null,
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "bookmarked": false,
  "quote": null,
  "reactions": []
}

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://sharkey/users/acg3ru0zh3uf0003"
  ],
  "id": "http://pasture-one-actor/activity/mK0Bli691cY",
  "published": "2025-09-09T12:42:25Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://sharkey/users/acg3ru0zh3uf0003"
    ],
    "id": "http://pasture-one-actor/object/G1SOk-d9oUA",
    "published": "2025-09-09T12:42:25Z",
    "content": "as:Public"
  }
}
pyfedi
{
  "id": 52,
  "user_id": 2,
  "community_id": 1,
  "title": "(content in post body)",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:26:19.576378Z",
  "ap_id": "http://pasture-one-actor/object/wthBhGwgX7s",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "as:Public"
}
sharkey
{
  "id": "acg3ueegtn88001q",
  "uri": "http://pasture-one-actor/object/G1SOk-d9oUA",
  "url": "http://pasture-one-actor/object/G1SOk-d9oUA",
  "account": {
    "id": "acg3tlswtn880004",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2025-09-09T12:41:47.936Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 53,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true,
    "noindex": false,
    "group": null,
    "suspended": false,
    "limited": false
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p>as:Public</p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "as:Public",
  "created_at": "2025-09-09T12:42:25.000Z",
  "edited_at": null,
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "bookmarked": false,
  "quote": null,
  "reactions": []
}

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://sharkey/users/acg3ru0zh3uf0003",
    "Public"
  ],
  "id": "http://pasture-one-actor/activity/1zXG6YvauwM",
  "published": "2025-09-09T12:42:25Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "Public",
      "http://sharkey/users/acg3ru0zh3uf0003"
    ],
    "id": "http://pasture-one-actor/object/BWw8Rtu4VEo",
    "published": "2025-09-09T12:42:25Z",
    "content": "Public"
  }
}
pyfedi
{
  "id": 53,
  "user_id": 2,
  "community_id": 1,
  "title": "(content in post body)",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:26:20.398795Z",
  "ap_id": "http://pasture-one-actor/object/XtImEz_sBW8",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "Public"
}
sharkey
{
  "id": "acg3ueegtn88001r",
  "uri": "http://pasture-one-actor/object/BWw8Rtu4VEo",
  "url": "http://pasture-one-actor/object/BWw8Rtu4VEo",
  "account": {
    "id": "acg3tlswtn880004",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2025-09-09T12:41:47.936Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 54,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true,
    "noindex": false,
    "group": null,
    "suspended": false,
    "limited": false
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p>Public</p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "Public",
  "created_at": "2025-09-09T12:42:25.000Z",
  "edited_at": null,
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "bookmarked": false,
  "quote": null,
  "reactions": []
}