Attribution Format¶
attributedTo is defined here in the ActivityStreams Vocabulary. It allows us to tell, who authored / owns the object.
This test explores what is allowed in the field.
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/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/activity/0k7lQglPY1Q",
"published": "2025-12-08T11:40:03Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/object/bxAYU-O54pk",
"published": "2025-12-08T11:40:03Z",
"content": "single element"
}
}
misskey
{
"id": "ag0n8v20gsyv005c",
"createdAt": "2025-12-08T11:40:03.000Z",
"userId": "ag0msgbpgsyv0003",
"user": {
"id": "ag0msgbpgsyv0003",
"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": "single element",
"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/object/bxAYU-O54pk",
"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/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/activity/-_LD0YICOnA",
"published": "2025-12-08T11:40:03Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/object/OPYX_s6sIL8",
"published": "2025-12-08T11:40:03Z",
"content": "single element as list"
}
}
no result
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/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/activity/GWmKdPDTU7E",
"published": "2025-12-08T11:41:56Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor",
"http://pasture-one-actor/second"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/object/N3Sww_f3z0s",
"published": "2025-12-08T11:41:56Z",
"content": "two elements as list"
}
}
no result
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/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/activity/jTVTkcy10mE",
"published": "2025-12-08T11:43:49Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/object/czYr6-zrSVY",
"published": "2025-12-08T11:43:49Z",
"content": "a dictionary"
}
}
no result
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/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/activity/yBqIzoTQCYI",
"published": "2025-12-08T11:45:42Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ag0mqqelszbk0003"
],
"id": "http://pasture-one-actor/object/zDYSUWbMfng",
"published": "2025-12-08T11:45:42Z",
"content": "a dictionary"
}
}
no result