Skip to content

Mentions

Mentions are discussed in this section of ActivityStreams.

The big difference on if mentions are parsed are currently a result of if the value in href can be resolved by the application being tested.

In the support table parsed means that the activity could be parsed, but the mention was discarded. A ❌ in the support table means that the entire message has failed to parse.

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "basic mention; mention as list of dictionaries",
  "id": "http://actor.example/object/qsRS98SFXQg",
  "published": "2025-08-15T08:43:29Z",
  "tag": [
    {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    }
  ],
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text @actor@pasture-one-actor; mention as dictionary",
  "id": "http://actor.example/object/gUBfyGYlxSc",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "@actor@test_server",
    "type": "Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "unrelated text",
  "id": "http://actor.example/object/hLulOlXOD5o",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "something something",
    "type": "Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "Missing Name @actor@pasture-one-actor",
  "id": "http://actor.example/object/Asw5VG4xr2Y",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "type": "Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/s8SVgpo_y_w",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "https://mastodon.social/users/the_milkman",
    "name": "@the_milkman@mastodon.social",
    "type": "Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/xXwbSGjd2Lg",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "https://dummy.example",
    "name": "@dummy@example",
    "type": "Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/vG4As5_yzyc",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "http://test_actor",
    "name": "@test_actor@test_server",
    "type": "Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/f4itOdjTWO0",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "yay",
    "type": "as:Mention"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "@actor text",
  "id": "http://actor.example/object/jUWQ7KWwCUA",
  "published": "2025-08-15T08:43:29Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "@actor"
  },
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "duplicate mention, see https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/75",
  "id": "http://actor.example/object/i6VUas-Vhtc",
  "published": "2025-08-15T08:43:29Z",
  "tag": [
    {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    },
    {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    }
  ],
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/BuRXCcV0Ihk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "basic mention; mention as list of dictionaries",
    "id": "http://actor.example/object/0sZcdSHWDv4",
    "published": "2025-08-15T08:43:29Z",
    "tag": [
      {
        "href": "http://pasture-one-actor/actor",
        "name": "@actor@test_server",
        "type": "Mention"
      }
    ],
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/fLR0Ksswbzg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text @actor@pasture-one-actor; mention as dictionary",
    "id": "http://actor.example/object/6nkcV-WYIH8",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/qBlyIcFgkPY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "unrelated text",
    "id": "http://actor.example/object/Nw3mzGIg6wE",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "something something",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/S-9_OVYm7nE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "Missing Name @actor@pasture-one-actor",
    "id": "http://actor.example/object/FLJBBaXHa28",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/qARqhU12TNI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/VDBIl6x9dao",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "https://mastodon.social/users/the_milkman",
      "name": "@the_milkman@mastodon.social",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/eM-b0jlTO18",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/RTh8hBduqJ0",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "https://dummy.example",
      "name": "@dummy@example",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/JRagKTeQWF4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/fNx0mFje38Q",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "http://test_actor",
      "name": "@test_actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/MmTYKL-RovA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/dfJonG17gWY",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "yay",
      "type": "as:Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/yKDEc_27fi0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "@actor text",
    "id": "http://actor.example/object/lYPBpXlquCQ",
    "published": "2025-08-15T08:43:29Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/ctqRraJtu5Y",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "duplicate mention, see https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/75",
    "id": "http://actor.example/object/xVYwxlYgqjQ",
    "published": "2025-08-15T08:43:29Z",
    "tag": [
      {
        "href": "http://pasture-one-actor/actor",
        "name": "@actor@test_server",
        "type": "Mention"
      },
      {
        "href": "http://pasture-one-actor/actor",
        "name": "@actor@test_server",
        "type": "Mention"
      }
    ],
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}