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/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/bYgOVrO955s",
"published": "2025-02-27T19:47:18Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/elyq5WRLKGg",
"published": "2025-02-27T19:47:18Z",
"content": "single element"
}
}
misskey
{
"id": "a4rbljlc24vf0034",
"createdAt": "2025-02-27T19:47:18.000Z",
"userId": "a4rbitox24vf0002",
"user": {
"id": "a4rbitox24vf0002",
"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/actor/elyq5WRLKGg",
"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/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/IAKGGx0o-KM",
"published": "2025-02-27T19:47:19Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/WehfWWs8B7o",
"published": "2025-02-27T19:47:19Z",
"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/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/8sqgApDyNWA",
"published": "2025-02-27T19:47:30Z",
"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/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/9BBf_kD1eVQ",
"published": "2025-02-27T19:47:30Z",
"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/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/PcsYlO7bftc",
"published": "2025-02-27T19:47:42Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/VBcgORi4fKs",
"published": "2025-02-27T19:47:42Z",
"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/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/NlhKopNpSWo",
"published": "2025-02-27T19:47:53Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a4rbgyeyr4570001"
],
"id": "http://pasture-one-actor/actor/B9cZf20L-mA",
"published": "2025-02-27T19:47:53Z",
"content": "a dictionary"
}
}
no result