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/RQn6cnT2v-M",
"published": "2024-10-21T15:58:35Z",
"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/Sg3WqZLR6ls",
"published": "2024-10-21T15:58:35Z",
"content": "text @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"name": "@actor@test_server",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192afcd-3da7-044d-4913-a638dfe83584",
"uri": "http://pasture-one-actor/actor/Sg3WqZLR6ls",
"url": "http://pasture-one-actor/actor/Sg3WqZLR6ls",
"created_at": "2024-10-21T15:58:35Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"username": "actor",
"acct": "actor@pasture-one-actor",
"url": "http://pasture-one-actor/actor"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/PcYBTbSEcvU",
"published": "2024-10-21T15:58:36Z",
"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/IGrIcU7880A",
"published": "2024-10-21T15:58:36Z",
"content": "unrelated text",
"tag": {
"type": "Mention",
"name": "something something",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192afcd-438e-ce8b-240e-aa6638322787",
"uri": "http://pasture-one-actor/actor/IGrIcU7880A",
"url": "http://pasture-one-actor/actor/IGrIcU7880A",
"created_at": "2024-10-21T15:58:36Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"username": "actor",
"acct": "actor@pasture-one-actor",
"url": "http://pasture-one-actor/actor"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/sEDMqB6S1Is",
"published": "2024-10-21T15:58:38Z",
"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/mS-m1dZgfqk",
"published": "2024-10-21T15:58:38Z",
"content": "Missing Name @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192afcd-496e-8a86-ba24-4edcfbd0e6b3",
"uri": "http://pasture-one-actor/actor/mS-m1dZgfqk",
"url": "http://pasture-one-actor/actor/mS-m1dZgfqk",
"created_at": "2024-10-21T15:58:38Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"username": "actor",
"acct": "actor@pasture-one-actor",
"url": "http://pasture-one-actor/actor"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/TBCl9DX5-iU",
"published": "2024-10-21T15:58:39Z",
"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/RRI4gMoCr_c",
"published": "2024-10-21T15:58:39Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@the_milkman@mastodon.social",
"href": "https://mastodon.social/users/the_milkman"
}
}
}
mitra
{
"id": "0192afcd-506e-8f22-df8b-0a4bbbe03d54",
"uri": "http://pasture-one-actor/actor/RRI4gMoCr_c",
"url": "http://pasture-one-actor/actor/RRI4gMoCr_c",
"created_at": "2024-10-21T15:58:39Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192afcd-5053-6e78-efcb-2fdfa1640e2f",
"username": "the_milkman",
"acct": "the_milkman@mastodon.social",
"url": "https://mastodon.social/@the_milkman"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/16uxusZJ3nk",
"published": "2024-10-21T15:58:41Z",
"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/60P2C_L6t8Y",
"published": "2024-10-21T15:58:41Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@dummy@example",
"href": "https://dummy.example"
}
}
}
mitra
{
"id": "0192afcd-68b9-1309-c453-48cc6bc9e9e5",
"uri": "http://pasture-one-actor/actor/60P2C_L6t8Y",
"url": "http://pasture-one-actor/actor/60P2C_L6t8Y",
"created_at": "2024-10-21T15:58:41Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/tMu7dWdUPa4",
"published": "2024-10-21T15:58:47Z",
"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/ov8EjLFKboY",
"published": "2024-10-21T15:58:47Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@test_actor@test_server",
"href": "http://test_actor"
}
}
}
mitra
{
"id": "0192afcd-821b-6559-444d-ac53ac8e7be8",
"uri": "http://pasture-one-actor/actor/ov8EjLFKboY",
"url": "http://pasture-one-actor/actor/ov8EjLFKboY",
"created_at": "2024-10-21T15:58:47Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/eLBwb8IIHTs",
"published": "2024-10-21T15:58:54Z",
"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/34oLBOclERk",
"published": "2024-10-21T15:58:54Z",
"content": "text",
"tag": {
"type": "as:Mention",
"name": "yay",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192afcd-87eb-4090-e149-6facb4dda608",
"uri": "http://pasture-one-actor/actor/34oLBOclERk",
"url": "http://pasture-one-actor/actor/34oLBOclERk",
"created_at": "2024-10-21T15:58:54Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"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/w4EQTc4fA5Y",
"published": "2024-10-21T15:58:55Z",
"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/Ew-L-E2GfYc",
"published": "2024-10-21T15:58:55Z",
"content": "@actor text",
"tag": {
"name": "@actor",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192afcd-8dc8-9710-3306-bf96497e98bc",
"uri": "http://pasture-one-actor/actor/Ew-L-E2GfYc",
"url": "http://pasture-one-actor/actor/Ew-L-E2GfYc",
"created_at": "2024-10-21T15:58:55Z",
"edited_at": null,
"account": {
"id": "0192afca-d69f-33cc-2e36-e6361893054a",
"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-10-21T15:55:59.007304Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"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": "0192afc9-9e24-6ede-72d7-8a0c1d5e5cd6",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}