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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/PiD1H2VBzNo",
"published": "2024-10-25T18:21:02Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/2-Hgln1GqeA",
"published": "2024-10-25T18:21:02Z",
"content": "text @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"name": "@actor@test_server",
"href": "http://pasture-one-actor/actor"
}
}
}
misskey
{
"id": "9zsmh4fkhl7y001o",
"createdAt": "2024-10-25T18:21:02.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "text @actor@pasture-one-actor",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9zsmf57vhl7y0002"
],
"uri": "http://pasture-one-actor/actor/2-Hgln1GqeA",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/-UnxES6AEMg",
"published": "2024-10-25T18:21:03Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/uDNdyBpY8Yo",
"published": "2024-10-25T18:21:03Z",
"content": "unrelated text",
"tag": {
"type": "Mention",
"name": "something something",
"href": "http://pasture-one-actor/actor"
}
}
}
misskey
{
"id": "9zsmh57chl7y001p",
"createdAt": "2024-10-25T18:21:03.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "unrelated text",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9zsmf57vhl7y0002"
],
"uri": "http://pasture-one-actor/actor/uDNdyBpY8Yo",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/rQb8QriL1xk",
"published": "2024-10-25T18:21:04Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/tZSP4CLQ4Xo",
"published": "2024-10-25T18:21:04Z",
"content": "Missing Name @actor@pasture-one-actor",
"tag": {
"type": "Mention",
"href": "http://pasture-one-actor/actor"
}
}
}
misskey
{
"id": "9zsmh5z4hl7y001q",
"createdAt": "2024-10-25T18:21:04.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "Missing Name @actor@pasture-one-actor",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9zsmf57vhl7y0002"
],
"uri": "http://pasture-one-actor/actor/tZSP4CLQ4Xo",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/JZUkTf4bbms",
"published": "2024-10-25T18:21:04Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/1_7RRg50fpY",
"published": "2024-10-25T18:21:04Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@the_milkman@mastodon.social",
"href": "https://mastodon.social/users/the_milkman"
}
}
}
misskey
{
"id": "9zsmh5z4hl7y001t",
"createdAt": "2024-10-25T18:21:04.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "text",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9zsmh77xhl7y001r"
],
"uri": "http://pasture-one-actor/actor/1_7RRg50fpY",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/mDJXUVODKhE",
"published": "2024-10-25T18:21:05Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/R9qjWH0Z1EE",
"published": "2024-10-25T18:21:05Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@dummy@example",
"href": "https://dummy.example"
}
}
}
misskey
{
"id": "9zsmh6qwhl7y001u",
"createdAt": "2024-10-25T18:21:05.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "text",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/actor/R9qjWH0Z1EE",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/ySyciC1Gl50",
"published": "2024-10-25T18:21:06Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/B30Wq2GiEUM",
"published": "2024-10-25T18:21:06Z",
"content": "text",
"tag": {
"type": "Mention",
"name": "@test_actor@test_server",
"href": "http://test_actor"
}
}
}
misskey
{
"id": "9zsmh7iohl7y001v",
"createdAt": "2024-10-25T18:21:06.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "text",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/actor/B30Wq2GiEUM",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/O0R_-om2qVc",
"published": "2024-10-25T18:21:07Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/4YGmS11rw1o",
"published": "2024-10-25T18:21:07Z",
"content": "text",
"tag": {
"type": "as:Mention",
"name": "yay",
"href": "http://pasture-one-actor/actor"
}
}
}
misskey
{
"id": "9zsmh8aghl7y001w",
"createdAt": "2024-10-25T18:21:07.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "text",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/actor/4YGmS11rw1o",
"clippedCount": 0
}
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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/2eexa-aJqzQ",
"published": "2024-10-25T18:21:08Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9zsmdhr9ioj40001"
],
"id": "http://pasture-one-actor/actor/S6Jh8MhJ_Dg",
"published": "2024-10-25T18:21:08Z",
"content": "@actor text",
"tag": {
"name": "@actor",
"href": "http://pasture-one-actor/actor"
}
}
}
misskey
{
"id": "9zsmh928hl7y001x",
"createdAt": "2024-10-25T18:21:08.000Z",
"userId": "9zsmf57vhl7y0002",
"user": {
"id": "9zsmf57vhl7y0002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "@actor text",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/actor/S6Jh8MhJ_Dg",
"clippedCount": 0
}