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": "text @actor@pasture-one-actor",
  "id": "http://actor.example/fl3a1Kmda_4",
  "published": "2025-01-13T19:51:01Z",
  "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": "unrelated text",
  "id": "http://actor.example/KMCplK5X8_U",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "something something",
    "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": "Missing Name @actor@pasture-one-actor",
  "id": "http://actor.example/2KDpaZLs4vg",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "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": "text",
  "id": "http://actor.example/-1hOpwjiOsc",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "https://mastodon.social/users/the_milkman",
    "name": "@the_milkman@mastodon.social",
    "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/rjak4U33W1s",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "https://dummy.example",
    "name": "@dummy@example",
    "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/0LGU0NZEVyQ",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "http://test_actor",
    "name": "@test_actor@test_server",
    "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/9ROjoN-9poc",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "yay",
    "type": "as: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": "@actor text",
  "id": "http://actor.example/4WlbCidgAvs",
  "published": "2025-01-13T19:51:01Z",
  "tag": {
    "href": "http://pasture-one-actor/actor",
    "name": "@actor"
  },
  "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/tSmuq3MG_uk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text @actor@pasture-one-actor",
    "id": "http://actor.example/UTIjWzmwVWQ",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "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/uYSJRlbSKog",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "unrelated text",
    "id": "http://actor.example/8itF05Ztimk",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "something something",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "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/-ze_MzIPGbk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "Missing Name @actor@pasture-one-actor",
    "id": "http://actor.example/gZlT80wqD9k",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "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/xVvtNqCcpf4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/2HKzU06lNXY",
    "published": "2025-01-13T19:51:01Z",
    "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-01-13T19:51:01Z",
  "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/0sFZUWZjKaM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/5_OUxfW0bU4",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "https://dummy.example",
      "name": "@dummy@example",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "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/xp4VPxmpro8",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/d8Ui6DQ32Mw",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "http://test_actor",
      "name": "@test_actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "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/lYTfbEBhJQA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/7UuEIbV_WZE",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "yay",
      "type": "as:Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "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/I3N0xYoBg_I",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "@actor text",
    "id": "http://actor.example/pKv_h2xb0Ns",
    "published": "2025-01-13T19:51:01Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}