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://mitra/users/admin",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/9but3ZtKPKo",
  "published": "2025-07-15T11:15:56Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/actor/iUFaPgnm3mA",
    "published": "2025-07-15T11:15:56Z",
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}
mitra
{
  "id": "01980dcc-6b2b-d0c5-0d64-b38d0cfc09a7",
  "uri": "http://pasture-one-actor/actor/iUFaPgnm3mA",
  "url": "http://pasture-one-actor/actor/iUFaPgnm3mA",
  "created_at": "2025-07-15T11:15:56.000Z",
  "edited_at": null,
  "account": {
    "id": "01980dcb-f4c5-820a-4cf0-a605e99078c0",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-07-15T11:15:27.045Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 21,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "https://www.w3.org/ns/activitystreams#Public",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "mentions": [
    {
      "id": "01980dca-b73f-f67b-da8e-99c5e18a1ffb",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

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://mitra/users/admin",
    "as:Public"
  ],
  "id": "http://pasture-one-actor/actor/WkomnTFA3nU",
  "published": "2025-07-15T11:15:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/actor/suOy5Pv1u38",
    "published": "2025-07-15T11:15:57Z",
    "content": "as:Public"
  }
}
mitra
{
  "id": "01980dcc-7106-4923-f561-8bb8dfdcbff5",
  "uri": "http://pasture-one-actor/actor/suOy5Pv1u38",
  "url": "http://pasture-one-actor/actor/suOy5Pv1u38",
  "created_at": "2025-07-15T11:15:57.000Z",
  "edited_at": null,
  "account": {
    "id": "01980dcb-f4c5-820a-4cf0-a605e99078c0",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-07-15T11:15:27.045Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 22,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "as:Public",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "mentions": [
    {
      "id": "01980dca-b73f-f67b-da8e-99c5e18a1ffb",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

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://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/LhUGKM99an0",
  "published": "2025-07-15T11:15:59Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/actor/dSVA3Fo8JX8",
    "published": "2025-07-15T11:15:59Z",
    "content": "Public"
  }
}
mitra
{
  "id": "01980dcc-76e2-8ad8-0ee2-21d1df4d01c8",
  "uri": "http://pasture-one-actor/actor/dSVA3Fo8JX8",
  "url": "http://pasture-one-actor/actor/dSVA3Fo8JX8",
  "created_at": "2025-07-15T11:15:59.000Z",
  "edited_at": null,
  "account": {
    "id": "01980dcb-f4c5-820a-4cf0-a605e99078c0",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-07-15T11:15:27.045Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 23,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "Public",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "mentions": [
    {
      "id": "01980dca-b73f-f67b-da8e-99c5e18a1ffb",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}