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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/HHVZK_EBZXM",
"published": "2024-12-02T18:34:07Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/X2AuYYFkYxo",
"published": "2024-12-02T18:34:07Z",
"content": "single element"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "single element"
},
"context": "http://pasture-one-actor/actor/X2AuYYFkYxo",
"conversation_id": 2055974532,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"uri": "http://pasture-one-actor/actor/X2AuYYFkYxo",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "Aody1PV6crLJtqlv3w",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodxhMTv1uCjgLZqWu",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/X2AuYYFkYxo",
"emojis": [],
"content": "single element",
"created_at": "2024-12-02T18:34:07.000Z",
"muted": false,
"favourited": false,
"quote_id": null,
"edited_at": null,
"poll": null,
"application": null,
"akkoma": {
"source": null
},
"sensitive": false,
"visibility": "public",
"emoji_reactions": [],
"reblogs_count": 0,
"reblogged": false,
"tags": [],
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-12-02T18:32:16.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "Aodxr6yQec7FXkZoYK",
"last_status_at": "2024-12-02",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 81,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"media_attachments": []
}
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/2rsw9UWSfds",
"published": "2024-12-02T18:34:08Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/Q_yUpHWnN0k",
"published": "2024-12-02T18:34:08Z",
"content": "single element as list"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "single element as list"
},
"context": "http://pasture-one-actor/actor/Q_yUpHWnN0k",
"conversation_id": 387270861,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"uri": "http://pasture-one-actor/actor/Q_yUpHWnN0k",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "Aody1TOW9IRvyZiiLg",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodxhMTv1uCjgLZqWu",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/Q_yUpHWnN0k",
"emojis": [],
"content": "single element as list",
"created_at": "2024-12-02T18:34:08.000Z",
"muted": false,
"favourited": false,
"quote_id": null,
"edited_at": null,
"poll": null,
"application": null,
"akkoma": {
"source": null
},
"sensitive": false,
"visibility": "public",
"emoji_reactions": [],
"reblogs_count": 0,
"reblogged": false,
"tags": [],
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-12-02T18:32:16.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "Aodxr6yQec7FXkZoYK",
"last_status_at": "2024-12-02",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 82,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"media_attachments": []
}
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/apelqifUWd0",
"published": "2024-12-02T18:34:09Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor",
"http://pasture-one-actor/second"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/giR5Ms2hL_0",
"published": "2024-12-02T18:34:09Z",
"content": "two elements as list"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "two elements as list"
},
"context": "http://pasture-one-actor/actor/giR5Ms2hL_0",
"conversation_id": 746600527,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"uri": "http://pasture-one-actor/actor/giR5Ms2hL_0",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "Aody1XOfGgwaOBot8K",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodxhMTv1uCjgLZqWu",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/giR5Ms2hL_0",
"emojis": [],
"content": "two elements as list",
"created_at": "2024-12-02T18:34:09.000Z",
"muted": false,
"favourited": false,
"quote_id": null,
"edited_at": null,
"poll": null,
"application": null,
"akkoma": {
"source": null
},
"sensitive": false,
"visibility": "public",
"emoji_reactions": [],
"reblogs_count": 0,
"reblogged": false,
"tags": [],
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-12-02T18:32:16.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "Aodxr6yQec7FXkZoYK",
"last_status_at": "2024-12-02",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 83,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"media_attachments": []
}
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/2Qt9QfkG458",
"published": "2024-12-02T18:34:09Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/qA2R7ka0IXE",
"published": "2024-12-02T18:34:09Z",
"content": "a dictionary"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "a dictionary"
},
"context": "http://pasture-one-actor/actor/qA2R7ka0IXE",
"conversation_id": 259396031,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"uri": "http://pasture-one-actor/actor/qA2R7ka0IXE",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "Aody1bLyYdAaf0anUu",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodxhMTv1uCjgLZqWu",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/qA2R7ka0IXE",
"emojis": [],
"content": "a dictionary",
"created_at": "2024-12-02T18:34:09.000Z",
"muted": false,
"favourited": false,
"quote_id": null,
"edited_at": null,
"poll": null,
"application": null,
"akkoma": {
"source": null
},
"sensitive": false,
"visibility": "public",
"emoji_reactions": [],
"reblogs_count": 0,
"reblogged": false,
"tags": [],
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-12-02T18:32:16.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "Aodxr6yQec7FXkZoYK",
"last_status_at": "2024-12-02",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 84,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"media_attachments": []
}
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/bZx-y6q4wDA",
"published": "2024-12-02T18:34:10Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/fXl8LBIYxwA",
"published": "2024-12-02T18:34:10Z",
"content": "a dictionary"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "a dictionary"
},
"context": "http://pasture-one-actor/actor/fXl8LBIYxwA",
"conversation_id": 1630548978,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"uri": "http://pasture-one-actor/actor/fXl8LBIYxwA",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "Aody1fIvrt70ujCQJE",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodxhMTv1uCjgLZqWu",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/fXl8LBIYxwA",
"emojis": [],
"content": "a dictionary",
"created_at": "2024-12-02T18:34:10.000Z",
"muted": false,
"favourited": false,
"quote_id": null,
"edited_at": null,
"poll": null,
"application": null,
"akkoma": {
"source": null
},
"sensitive": false,
"visibility": "public",
"emoji_reactions": [],
"reblogs_count": 0,
"reblogged": false,
"tags": [],
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-12-02T18:32:16.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "Aodxr6yQec7FXkZoYK",
"last_status_at": "2024-12-02",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 85,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"media_attachments": []
}