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.

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/ekJj6rcoIRg",
  "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/9eA5GCoFBxk",
    "published": "2024-08-03T15:44:49Z",
    "content": "text @actor@pasture-one-actor",
    "tag": {
      "type": "Mention",
      "name": "@actor@test_server",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
mitra
{
  "id": "019118ea-3ea6-e6f3-f5cf-28ac5b49428a",
  "uri": "http://pasture-one-actor/actor/9eA5GCoFBxk",
  "url": null,
  "created_at": "2024-08-03T15:44:49Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 46,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "text @actor@pasture-one-actor",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    },
    {
      "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
      "username": "actor",
      "acct": "actor@pasture-one-actor",
      "url": "http://pasture-one-actor/actor"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/Qp7213OHTfo",
  "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/dOYc2wbmQi4",
    "published": "2024-08-03T15:44:50Z",
    "content": "unrelated text",
    "tag": {
      "type": "Mention",
      "name": "something something",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
mitra
{
  "id": "019118ea-4489-ea33-5d6e-3f3861dc5708",
  "uri": "http://pasture-one-actor/actor/dOYc2wbmQi4",
  "url": null,
  "created_at": "2024-08-03T15:44:50Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 47,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "unrelated text",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    },
    {
      "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
      "username": "actor",
      "acct": "actor@pasture-one-actor",
      "url": "http://pasture-one-actor/actor"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/pUZ1b_hhXdY",
  "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/SEYSyrAZrgQ",
    "published": "2024-08-03T15:44:52Z",
    "content": "Missing Name @actor@pasture-one-actor",
    "tag": {
      "type": "Mention",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
mitra
{
  "id": "019118ea-4a67-012d-096e-f0406daa5f40",
  "uri": "http://pasture-one-actor/actor/SEYSyrAZrgQ",
  "url": null,
  "created_at": "2024-08-03T15:44:52Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 48,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "Missing Name @actor@pasture-one-actor",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    },
    {
      "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
      "username": "actor",
      "acct": "actor@pasture-one-actor",
      "url": "http://pasture-one-actor/actor"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/po4ACx1KBrY",
  "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/wcycC2v-56E",
    "published": "2024-08-03T15:44:53Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@the_milkman@mastodon.social",
      "href": "https://mastodon.social/users/the_milkman"
    }
  }
}
mitra
{
  "id": "019118ea-513b-c40b-7ef5-2bf77078c359",
  "uri": "http://pasture-one-actor/actor/wcycC2v-56E",
  "url": null,
  "created_at": "2024-08-03T15:44:53Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 49,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "text",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    },
    {
      "id": "019118ea-511b-6bcf-fad6-ca0a524975ef",
      "username": "the_milkman",
      "acct": "the_milkman@mastodon.social",
      "url": "https://mastodon.social/@the_milkman"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/aLB_qE6AcZM",
  "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/HLlb-4CIwJE",
    "published": "2024-08-03T15:44:55Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@dummy@example",
      "href": "https://dummy.example"
    }
  }
}
mitra
{
  "id": "019118ea-69d1-b8c2-5165-20882724b3d8",
  "uri": "http://pasture-one-actor/actor/HLlb-4CIwJE",
  "url": null,
  "created_at": "2024-08-03T15:44:55Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 50,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "text",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/uFKt9b_MKyQ",
  "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/ZoKG3nQNBzE",
    "published": "2024-08-03T15:45:01Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@test_actor@test_server",
      "href": "http://test_actor"
    }
  }
}
mitra
{
  "id": "019118ea-8318-2bf5-61da-b03aa1165002",
  "uri": "http://pasture-one-actor/actor/ZoKG3nQNBzE",
  "url": null,
  "created_at": "2024-08-03T15:45:01Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 51,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "text",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/KYx_H1TIEu0",
  "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/bbiYvgr1IDM",
    "published": "2024-08-03T15:45:08Z",
    "content": "text",
    "tag": {
      "type": "as:Mention",
      "name": "yay",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
mitra
{
  "id": "019118ea-88e7-c395-cf30-6a3df3696adf",
  "uri": "http://pasture-one-actor/actor/bbiYvgr1IDM",
  "url": null,
  "created_at": "2024-08-03T15:45:08Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 52,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "text",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/actor/ur3MSY86Ye4",
  "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/Ple_TjgWJ8U",
    "published": "2024-08-03T15:45:09Z",
    "content": "@actor text",
    "tag": {
      "name": "@actor",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
mitra
{
  "id": "019118ea-8ec2-218c-6ae0-9119d201c54f",
  "uri": "http://pasture-one-actor/actor/Ple_TjgWJ8U",
  "url": null,
  "created_at": "2024-08-03T15:45:09Z",
  "edited_at": null,
  "account": {
    "id": "019118e7-ded9-7460-3eab-e229fb6ef7d0",
    "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": "2024-08-03T15:42:14.744767Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 53,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "@actor text",
  "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,
  "media_attachments": [],
  "mentions": [
    {
      "id": "019118e6-d690-71d3-ff0d-fec253e88c18",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "quote": null,
    "quote_visible": false
  },
  "ipfs_cid": null,
  "links": []
}