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/uZumNvBx75k",
  "published": "2024-11-22T15:02:51Z",
  "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/sIk9iQpEhOI",
  "published": "2024-11-22T15:02:51Z",
  "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/IsDcgr3qCTY",
  "published": "2024-11-22T15:02:51Z",
  "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/gwIRb3ZzoRo",
  "published": "2024-11-22T15:02:51Z",
  "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/TcXZTUVoT4c",
  "published": "2024-11-22T15:02:51Z",
  "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/uwpHkHLrmp4",
  "published": "2024-11-22T15:02:51Z",
  "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/sA84cfQYxm0",
  "published": "2024-11-22T15:02:51Z",
  "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/xxoWE-mFN3w",
  "published": "2024-11-22T15:02:51Z",
  "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/HOxa_cOTFWM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text @actor@pasture-one-actor",
    "id": "http://actor.example/oFP4B6jGvSY",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/GVxum15IQ5k",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "unrelated text",
    "id": "http://actor.example/Kh0Iyncoj_Y",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "something something",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/oRUtNHqqNuk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "Missing Name @actor@pasture-one-actor",
    "id": "http://actor.example/1q6_8tzHWPY",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/N6phc4A1QbY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/XleWFI8YfCc",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "https://mastodon.social/users/the_milkman",
      "name": "@the_milkman@mastodon.social",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/6ECo1rjdS64",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/lh7JCv7tbcU",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "https://dummy.example",
      "name": "@dummy@example",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/DkzcsrjqyJA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/nhu0b2DET0c",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "http://test_actor",
      "name": "@test_actor@test_server",
      "type": "Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/rjguf0NAZVI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/WMG02vxLnyQ",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "yay",
      "type": "as:Mention"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/ova5cj6gwEA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "@actor text",
    "id": "http://actor.example/84y0gGrjVfM",
    "published": "2024-11-22T15:02:51Z",
    "tag": {
      "href": "http://pasture-one-actor/actor",
      "name": "@actor"
    },
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}