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/YF7u0M7AdK0",
"published": "2024-10-26T09:16:58Z",
"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/U5bxqZ-RrDw",
"published": "2024-10-26T09:16:58Z",
"content": "text @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"name": "@actor@test_server",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192c81d-5a15-52ec-2e84-e530322159db",
"uri": "http://pasture-one-actor/actor/U5bxqZ-RrDw",
"url": "http://pasture-one-actor/actor/U5bxqZ-RrDw",
"created_at": "2024-10-26T09:16:58Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 56,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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/e7b0RmFpxYg",
"published": "2024-10-26T09:17:00Z",
"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/k2zpomZLBm8",
"published": "2024-10-26T09:17:00Z",
"content": "unrelated text",
"tag": {
"type": "Mention",
"name": "something something",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192c81d-5ff1-af22-77fe-09397ff1f6cb",
"uri": "http://pasture-one-actor/actor/k2zpomZLBm8",
"url": "http://pasture-one-actor/actor/k2zpomZLBm8",
"created_at": "2024-10-26T09:17:00Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 57,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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/rgDtmMD4JB8",
"published": "2024-10-26T09:17:01Z",
"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/AQ1zR5XZEyw",
"published": "2024-10-26T09:17:01Z",
"content": "Missing Name @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192c81d-65d0-24d4-e221-b534b52af358",
"uri": "http://pasture-one-actor/actor/AQ1zR5XZEyw",
"url": "http://pasture-one-actor/actor/AQ1zR5XZEyw",
"created_at": "2024-10-26T09:17:01Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 58,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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/qcG81YCorlY",
"published": "2024-10-26T09:17:03Z",
"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/CSrw3E15qqY",
"published": "2024-10-26T09:17:03Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@the_milkman@mastodon.social",
"href": "https://mastodon.social/users/the_milkman"
}
}
}
mitra
{
"id": "0192c81d-6c67-333a-52df-4859a9d44a62",
"uri": "http://pasture-one-actor/actor/CSrw3E15qqY",
"url": "http://pasture-one-actor/actor/CSrw3E15qqY",
"created_at": "2024-10-26T09:17:03Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 59,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
},
{
"id": "0192c81d-6c57-6def-7534-577b3f39cfd8",
"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/NoGVpsLnSPc",
"published": "2024-10-26T09:17:04Z",
"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/YkG9qzCc6TI",
"published": "2024-10-26T09:17:04Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@dummy@example",
"href": "https://dummy.example"
}
}
}
mitra
{
"id": "0192c81d-855a-384e-6d27-6e9f1245f2d9",
"uri": "http://pasture-one-actor/actor/YkG9qzCc6TI",
"url": "http://pasture-one-actor/actor/YkG9qzCc6TI",
"created_at": "2024-10-26T09:17:04Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 60,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"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/CB8jAI-ylS0",
"published": "2024-10-26T09:17:11Z",
"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/ODSoeCPsDwY",
"published": "2024-10-26T09:17:11Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@test_actor@test_server",
"href": "http://test_actor"
}
}
}
mitra
{
"id": "0192c81d-9e8f-14c0-251e-c794d4be9535",
"uri": "http://pasture-one-actor/actor/ODSoeCPsDwY",
"url": "http://pasture-one-actor/actor/ODSoeCPsDwY",
"created_at": "2024-10-26T09:17:11Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 61,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"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/GOPM6gsL16Y",
"published": "2024-10-26T09:17:17Z",
"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/IiMJQ-5XM4c",
"published": "2024-10-26T09:17:17Z",
"content": "text",
"tag": {
"type": "as:Mention",
"name": "yay",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192c81d-a455-6548-3ee0-77c6b715280e",
"uri": "http://pasture-one-actor/actor/IiMJQ-5XM4c",
"url": "http://pasture-one-actor/actor/IiMJQ-5XM4c",
"created_at": "2024-10-26T09:17:17Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 62,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"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/Fdmwqb06fpA",
"published": "2024-10-26T09:17:19Z",
"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/307tWV28GPk",
"published": "2024-10-26T09:17:19Z",
"content": "@actor text",
"tag": {
"name": "@actor",
"href": "http://pasture-one-actor/actor"
}
}
}
mitra
{
"id": "0192c81d-aa39-9826-6053-2759e4e5280a",
"uri": "http://pasture-one-actor/actor/307tWV28GPk",
"url": "http://pasture-one-actor/actor/307tWV28GPk",
"created_at": "2024-10-26T09:17:19Z",
"edited_at": null,
"account": {
"id": "0192c81b-160b-e660-e2a9-30ba1854a74e",
"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-26T09:14:31.306920Z",
"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": 63,
"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": "0192c819-f5a8-c663-4abf-ac4075d15c50",
"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": []
}