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/SlHRU8uhOeg",
  "published": "2025-07-15T09:07:23Z",
  "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/goRxGBZJ7Zs",
  "published": "2025-07-15T09:07:23Z",
  "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/RBcRIdcbU_0",
  "published": "2025-07-15T09:07:23Z",
  "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/Ncp9zO20wko",
  "published": "2025-07-15T09:07:23Z",
  "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/qE0Yh3CjhDs",
  "published": "2025-07-15T09:07:23Z",
  "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/0Db1c0NwFiE",
  "published": "2025-07-15T09:07:23Z",
  "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/lDpH_WZ9jG8",
  "published": "2025-07-15T09:07:23Z",
  "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/3gxXXcY85ZU",
  "published": "2025-07-15T09:07:23Z",
  "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/epMNcWY-MXU",
  "published": "2025-07-15T09:07:23Z",
  "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/dYD8Ju6EOLs",
  "published": "2025-07-15T09:07:23Z",
  "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/A_IW-HIB9g4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "basic mention; mention as list of dictionaries",
    "id": "http://actor.example/aX2wdYfhcuw",
    "published": "2025-07-15T09:07:23Z",
    "tag": [
      {
        "href": "http://pasture-one-actor/actor",
        "name": "@actor@test_server",
        "type": "Mention"
      }
    ],
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/h1SoTwUod3s",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text @actor@pasture-one-actor; mention as dictionary",
    "id": "http://actor.example/YQ5A3_9JAFI",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/Xyd0R19O5oQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "unrelated text",
    "id": "http://actor.example/icGk8jf9Bn8",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "something something",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/ZvmA2X_MXRU",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "Missing Name @actor@pasture-one-actor",
    "id": "http://actor.example/v1F9CwEYtHE",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/j2DiQ-Qe9yI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/eVTcfObPjsU",
    "published": "2025-07-15T09:07:23Z",
    "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-07-15T09:07:23Z",
  "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/sXoZXgZL08g",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/btKcNGaDZ00",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "https://dummy.example",
      "name": "@dummy@example",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/ZV67OQICVk8",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/e5MAMCCVx30",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "http://test_actor",
      "name": "@test_actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/3IL72idAohM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/01j9Z9Sf_cU",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "yay",
      "type": "as:Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/_C0d3124zXA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "@actor text",
    "id": "http://actor.example/iE4YISXc7bg",
    "published": "2025-07-15T09:07:23Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-07-15T09:07:23Z",
  "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/ck5_aFeU8B8",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "duplicate mention, see https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/75",
    "id": "http://actor.example/kIVVxNaIamA",
    "published": "2025-07-15T09:07:23Z",
    "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-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}