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.
Support Table Preview¶
tag | Object | Activity |
---|---|---|
basic mention; mention as list of dictionaries[ { “type”: “Mention”, “name”: “@actor@test_server”, “href”: “http://pasture-one-actor/actor” } ] |
Object | Activity |
text @actor@pasture-one-actor; mention as dictionary{ “type”: “Mention”, “name”: “@actor@test_server”, “href”: “http://pasture-one-actor/actor” } |
Object | Activity |
unrelated text{ “type”: “Mention”, “name”: “something something”, “href”: “http://pasture-one-actor/actor” } |
Object | Activity |
Missing Name @actor@pasture-one-actor{ “type”: “Mention”, “href”: “http://pasture-one-actor/actor” } |
Object | Activity |
realworld url{ “type”: “Mention”, “name”: “@the_milkman@mastodon.social”, “href”: “https://mastodon.social/users/the_milkman” } |
Object | Activity |
unresolvable url – https{ “type”: “Mention”, “name”: “@dummy@example”, “href”: “https://dummy.example” } |
Object | Activity |
texunresolvable url – http{ “type”: “Mention”, “name”: “@test_actor@test_server”, “href”: “http://test_actor” } |
Object | Activity |
name is ‘yay’{ “type”: “as:Mention”, “name”: “yay”, “href”: “http://pasture-one-actor/actor” } |
Object | Activity |
@actor text{ “name”: “@actor”, “href”: “http://pasture-one-actor/actor” } |
Object | Activity |
duplicate mention, see https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/75[ { “type”: “Mention”, “name”: “@actor@test_server”, “href”: “http://pasture-one-actor/actor” }, { “type”: “Mention”, “name”: “@actor@test_server”, “href”: “http://pasture-one-actor/actor” } ] |
Object | Activity |
Objects¶
Object 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "basic mention; mention as list of dictionaries",
"id": "http://actor.example/object/G7iG0wV39Dc",
"published": "2025-09-09T09:32:38Z",
"tag": [
{
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 2¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "text @actor@pasture-one-actor; mention as dictionary",
"id": "http://actor.example/object/X4hjZQns5ig",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 3¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "unrelated text",
"id": "http://actor.example/object/DJKUZDmmJus",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "something something",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 4¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "Missing Name @actor@pasture-one-actor",
"id": "http://actor.example/object/W0sDPy1SaXI",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 5¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "realworld url",
"id": "http://actor.example/object/Qt5BUUHyzA0",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "https://mastodon.social/users/the_milkman",
"name": "@the_milkman@mastodon.social",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 6¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "unresolvable url -- https",
"id": "http://actor.example/object/NXEocVLy-2A",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "https://dummy.example",
"name": "@dummy@example",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 7¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "texunresolvable url -- http",
"id": "http://actor.example/object/vBMlq4cvIoc",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://test_actor",
"name": "@test_actor@test_server",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 8¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "name is 'yay'",
"id": "http://actor.example/object/FtaCraKkh10",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "yay",
"type": "as:Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 9¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "@actor text",
"id": "http://actor.example/object/p1zEE8kONJQ",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "@actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 10¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "duplicate mention, see https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/75",
"id": "http://actor.example/object/Zb5lqPT9K5w",
"published": "2025-09-09T09:32:38Z",
"tag": [
{
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
},
{
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Activities¶
Activity 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/4C-MMR4V52k",
"object": {
"attributedTo": "http://actor.example",
"content": "basic mention; mention as list of dictionaries",
"id": "http://actor.example/object/W2wPv_HwRck",
"published": "2025-09-09T09:32:38Z",
"tag": [
{
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 2¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/uQZh6wtWoO4",
"object": {
"attributedTo": "http://actor.example",
"content": "text @actor@pasture-one-actor; mention as dictionary",
"id": "http://actor.example/object/IOwab_sazBU",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 3¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/k9mXIQG9DeU",
"object": {
"attributedTo": "http://actor.example",
"content": "unrelated text",
"id": "http://actor.example/object/FaUdzITv4Rk",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "something something",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 4¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/ii2EJobMzVE",
"object": {
"attributedTo": "http://actor.example",
"content": "Missing Name @actor@pasture-one-actor",
"id": "http://actor.example/object/czojn63t5p8",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 5¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/hbOzY1HlIfY",
"object": {
"attributedTo": "http://actor.example",
"content": "realworld url",
"id": "http://actor.example/object/f03qMOVK1XA",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "https://mastodon.social/users/the_milkman",
"name": "@the_milkman@mastodon.social",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 6¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/Abipl9aLhMQ",
"object": {
"attributedTo": "http://actor.example",
"content": "unresolvable url -- https",
"id": "http://actor.example/object/mkYDeoNwtaY",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "https://dummy.example",
"name": "@dummy@example",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 7¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/3LHjrc8pFjk",
"object": {
"attributedTo": "http://actor.example",
"content": "texunresolvable url -- http",
"id": "http://actor.example/object/NQH9WEDNX0c",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://test_actor",
"name": "@test_actor@test_server",
"type": "Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 8¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/_Z2PMJ2qrw8",
"object": {
"attributedTo": "http://actor.example",
"content": "name is 'yay'",
"id": "http://actor.example/object/21y81c7AkQc",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "yay",
"type": "as:Mention"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 9¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/SOvNXG676io",
"object": {
"attributedTo": "http://actor.example",
"content": "@actor text",
"id": "http://actor.example/object/0TkAXLpULhU",
"published": "2025-09-09T09:32:38Z",
"tag": {
"href": "http://pasture-one-actor/actor",
"name": "@actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}
Activity 10¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/8LHWPmggkI8",
"object": {
"attributedTo": "http://actor.example",
"content": "duplicate mention, see https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/75",
"id": "http://actor.example/object/Khb_YKHVVHw",
"published": "2025-09-09T09:32:38Z",
"tag": [
{
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
},
{
"href": "http://pasture-one-actor/actor",
"name": "@actor@test_server",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}