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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/UiOkfbdOE-c",
"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/mqUBvXmR_rY",
"published": "2024-08-14T10:18:51Z",
"content": "text @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"name": "@actor@test_server",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "01915065-c686-0110-fda1-d167842fbdab",
"uri": "http://pasture-one-actor/actor/mqUBvXmR_rY",
"url": null,
"created_at": "2024-08-14T10:18:51Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/M4Pr49rIpJs",
"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/_7byfz63iow",
"published": "2024-08-14T10:18:53Z",
"content": "unrelated text",
"tag": {
"type": "Mention",
"name": "something something",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "01915065-cc4e-b624-c093-63249426ed9e",
"uri": "http://pasture-one-actor/actor/_7byfz63iow",
"url": null,
"created_at": "2024-08-14T10:18:53Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/1n4kbe_rjM0",
"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/XvCTP3fQP7c",
"published": "2024-08-14T10:18:54Z",
"content": "Missing Name @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "01915065-d23d-16ef-2f99-0abfb3d22f97",
"uri": "http://pasture-one-actor/actor/XvCTP3fQP7c",
"url": null,
"created_at": "2024-08-14T10:18:54Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/V_4XnC2Sx6c",
"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/WINIoefFzbc",
"published": "2024-08-14T10:18:56Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@the_milkman@mastodon.social",
"href": "https://mastodon.social/users/the_milkman"
}
}
}
mitra
{
"id": "01915065-d96f-817f-2fac-8ebbd6d022d3",
"uri": "http://pasture-one-actor/actor/WINIoefFzbc",
"url": null,
"created_at": "2024-08-14T10:18:56Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "01915065-d956-6695-f9c6-73c77510ae69",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/GYlVRnJI-EE",
"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/ccky3ne7Q2c",
"published": "2024-08-14T10:18:57Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@dummy@example",
"href": "https://dummy.example"
}
}
}
mitra
{
"id": "01915065-f36c-6f69-f920-b9453b8efe7d",
"uri": "http://pasture-one-actor/actor/ccky3ne7Q2c",
"url": null,
"created_at": "2024-08-14T10:18:57Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/wUX9CwQHcUs",
"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/Ge7GbaacFKs",
"published": "2024-08-14T10:19:04Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@test_actor@test_server",
"href": "http://test_actor"
}
}
}
mitra
{
"id": "01915066-0ce6-2a33-6d58-9a25327465ad",
"uri": "http://pasture-one-actor/actor/Ge7GbaacFKs",
"url": null,
"created_at": "2024-08-14T10:19:04Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Pg7uoEbzSPk",
"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/ThEiXseO_pw",
"published": "2024-08-14T10:19:11Z",
"content": "text",
"tag": {
"type": "as:Mention",
"name": "yay",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "01915066-12a7-23b9-bed9-5a1e9520cc31",
"uri": "http://pasture-one-actor/actor/ThEiXseO_pw",
"url": null,
"created_at": "2024-08-14T10:19:11Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"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": [
"http://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ZNYhF6orXGE",
"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/iGulc8DqWQA",
"published": "2024-08-14T10:19:12Z",
"content": "@actor text",
"tag": {
"name": "@actor",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "01915066-1890-6f2a-571c-cabd93ee4f72",
"uri": "http://pasture-one-actor/actor/iGulc8DqWQA",
"url": null,
"created_at": "2024-08-14T10:19:12Z",
"edited_at": null,
"account": {
"id": "01915063-5d13-9e38-ee07-83619d956ac4",
"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-14T10:16:14.867539Z",
"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": "01915062-5a32-ede5-d7a2-c4be34515e6a",
"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": []
}