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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/cXxM47dlzH4",
"published": "2024-11-09T09:41:08Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/RvXB3SnfvVA",
"published": "2024-11-09T09:41:08Z",
"content": "text @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"name": "@actor@test_server",
"href": "http://pasture-one-actor/actor"
}
}
}
sharkey
{
"id": "a0djiazkeka0001x",
"uri": "http://pasture-one-actor/actor/RvXB3SnfvVA",
"url": "http://pasture-one-actor/actor/RvXB3SnfvVA",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 59,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>text </span><span class=\"h-card\" translate=\"no\"><a href=\"http://pasture-one-actor/actor\" class=\"u-url mention\">@<span>actor</span></a></span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text @actor@pasture-one-actor",
"created_at": "2024-11-09T09:41:08.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [
{
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"url": "http://pasture-one-actor/actor"
}
],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/wOzzE0iQEtU",
"published": "2024-11-09T09:41:09Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/gXxQ-Y3PvSM",
"published": "2024-11-09T09:41:09Z",
"content": "unrelated text",
"tag": {
"type": "Mention",
"name": "something something",
"href": "http://pasture-one-actor/actor"
}
}
}
sharkey
{
"id": "a0djibrceka0001y",
"uri": "http://pasture-one-actor/actor/gXxQ-Y3PvSM",
"url": "http://pasture-one-actor/actor/gXxQ-Y3PvSM",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 60,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>unrelated text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "unrelated text",
"created_at": "2024-11-09T09:41:09.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [
{
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"url": "http://pasture-one-actor/actor"
}
],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/B8hVzGMhDW8",
"published": "2024-11-09T09:41:10Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/s8s_y1iqDPo",
"published": "2024-11-09T09:41:10Z",
"content": "Missing Name @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"href": "http://pasture-one-actor/actor"
}
}
}
sharkey
{
"id": "a0djicj4eka0001z",
"uri": "http://pasture-one-actor/actor/s8s_y1iqDPo",
"url": "http://pasture-one-actor/actor/s8s_y1iqDPo",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 61,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>Missing Name </span><span class=\"h-card\" translate=\"no\"><a href=\"http://pasture-one-actor/actor\" class=\"u-url mention\">@<span>actor</span></a></span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "Missing Name @actor@pasture-one-actor",
"created_at": "2024-11-09T09:41:10.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [
{
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"url": "http://pasture-one-actor/actor"
}
],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/yOg8_qp6XHQ",
"published": "2024-11-09T09:41:11Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/JZKLxMjOeW8",
"published": "2024-11-09T09:41:11Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@the_milkman@mastodon.social",
"href": "https://mastodon.social/users/the_milkman"
}
}
}
sharkey
{
"id": "a0djidaweka00022",
"uri": "http://pasture-one-actor/actor/JZKLxMjOeW8",
"url": "http://pasture-one-actor/actor/JZKLxMjOeW8",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 62,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-11-09T09:41:11.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [
{
"id": "a0djidtkeka00020",
"username": "the_milkman",
"acct": "the_milkman@mastodon.social",
"url": "https://mastodon.social/@the_milkman"
}
],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/k97ALIvwLdY",
"published": "2024-11-09T09:41:12Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/BuNPn3A4Qkc",
"published": "2024-11-09T09:41:12Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@dummy@example",
"href": "https://dummy.example"
}
}
}
sharkey
{
"id": "a0djie2oeka00023",
"uri": "http://pasture-one-actor/actor/BuNPn3A4Qkc",
"url": "http://pasture-one-actor/actor/BuNPn3A4Qkc",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 63,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-11-09T09:41:12.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/MZp608wC_Nc",
"published": "2024-11-09T09:41:13Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/kTg1xZ1xFNk",
"published": "2024-11-09T09:41:13Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@test_actor@test_server",
"href": "http://test_actor"
}
}
}
sharkey
{
"id": "a0djieugeka00024",
"uri": "http://pasture-one-actor/actor/kTg1xZ1xFNk",
"url": "http://pasture-one-actor/actor/kTg1xZ1xFNk",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 64,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-11-09T09:41:13.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/wdLzwT0VLKM",
"published": "2024-11-09T09:41:14Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/VtVp__pAAy0",
"published": "2024-11-09T09:41:14Z",
"content": "text",
"tag": {
"type": "as:Mention",
"name": "yay",
"href": "http://pasture-one-actor/actor"
}
}
}
sharkey
{
"id": "a0djifm8eka00025",
"uri": "http://pasture-one-actor/actor/VtVp__pAAy0",
"url": "http://pasture-one-actor/actor/VtVp__pAAy0",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 65,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-11-09T09:41:14.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}
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": [
"http://sharkey/users/a0djeo24txfo0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/rU0ncmQP66o",
"published": "2024-11-09T09:41:14Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a0djeo24txfo0001"
],
"id": "http://pasture-one-actor/actor/gDmJwprDYtY",
"published": "2024-11-09T09:41:14Z",
"content": "@actor text",
"tag": {
"name": "@actor",
"href": "http://pasture-one-actor/actor"
}
}
}
sharkey
{
"id": "a0djifm8eka00026",
"uri": "http://pasture-one-actor/actor/gDmJwprDYtY",
"url": "http://pasture-one-actor/actor/gDmJwprDYtY",
"account": {
"id": "a0djgg80eka00002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-11-09T09:39:41.472Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 66,
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>@actor</span><span> text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "@actor text",
"created_at": "2024-11-09T09:41:14.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}