Skip to content

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/2z7zHD07u2Q",
  "published": "2024-12-02T19:29:15Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/mYQa4pfuyzs",
    "published": "2024-12-02T19:29:15Z",
    "content": "single element"
  }
}
pleroma
{
  "account": {
    "acct": "actor@pasture-one-actor",
    "avatar": "http://pleroma/images/avi.png",
    "avatar_static": "http://pleroma/images/avi.png",
    "bot": false,
    "created_at": "2024-12-02T19:25:32.000Z",
    "display_name": "Test Actor",
    "emojis": [],
    "fields": [],
    "followers_count": 0,
    "following_count": 0,
    "fqn": "actor@pasture-one-actor",
    "header": "http://pleroma/images/banner.png",
    "header_static": "http://pleroma/images/banner.png",
    "id": "Aoe2bpClkkU1RKSZPc",
    "last_status_at": "2024-12-02",
    "locked": false,
    "note": "",
    "pleroma": {
      "accepts_chat_messages": null,
      "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,
      "privileges": [],
      "relationship": {},
      "skip_thread_containment": false,
      "tags": []
    },
    "source": {
      "fields": [],
      "note": "",
      "pleroma": {
        "actor_type": "Person",
        "discoverable": false
      },
      "sensitive": false
    },
    "statuses_count": 71,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "single element",
  "created_at": "2024-12-02T19:29:15.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "Aoe2wQR72NjAhbzYYq",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "Aoe2T0EA76luUcrUCe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "single element"
    },
    "context": "http://pasture-one-actor/actor/mYQa4pfuyzs",
    "conversation_id": 2067776931,
    "direct_conversation_id": null,
    "emoji_reactions": [],
    "expires_at": null,
    "in_reply_to_account_acct": null,
    "local": false,
    "parent_visible": false,
    "pinned_at": null,
    "quote": null,
    "quote_id": null,
    "quote_url": null,
    "quote_visible": false,
    "quotes_count": 0,
    "spoiler_text": {
      "text/plain": ""
    },
    "thread_muted": false
  },
  "poll": null,
  "reblog": null,
  "reblogged": false,
  "reblogs_count": 0,
  "replies_count": 0,
  "sensitive": false,
  "spoiler_text": "",
  "tags": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/mYQa4pfuyzs",
  "url": "http://pasture-one-actor/actor/mYQa4pfuyzs",
  "visibility": "public"
}

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/q0gm66c4-Fw",
  "published": "2024-12-02T19:29:16Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/T6ZWIbxQ1fY",
    "published": "2024-12-02T19:29:16Z",
    "content": "single element as list"
  }
}
pleroma
{
  "account": {
    "acct": "actor@pasture-one-actor",
    "avatar": "http://pleroma/images/avi.png",
    "avatar_static": "http://pleroma/images/avi.png",
    "bot": false,
    "created_at": "2024-12-02T19:25:32.000Z",
    "display_name": "Test Actor",
    "emojis": [],
    "fields": [],
    "followers_count": 0,
    "following_count": 0,
    "fqn": "actor@pasture-one-actor",
    "header": "http://pleroma/images/banner.png",
    "header_static": "http://pleroma/images/banner.png",
    "id": "Aoe2bpClkkU1RKSZPc",
    "last_status_at": "2024-12-02",
    "locked": false,
    "note": "",
    "pleroma": {
      "accepts_chat_messages": null,
      "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,
      "privileges": [],
      "relationship": {},
      "skip_thread_containment": false,
      "tags": []
    },
    "source": {
      "fields": [],
      "note": "",
      "pleroma": {
        "actor_type": "Person",
        "discoverable": false
      },
      "sensitive": false
    },
    "statuses_count": 72,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "single element as list",
  "created_at": "2024-12-02T19:29:16.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "Aoe2wUYLjPtRTDPOOe",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "Aoe2T0EA76luUcrUCe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "single element as list"
    },
    "context": "http://pasture-one-actor/actor/T6ZWIbxQ1fY",
    "conversation_id": 963076322,
    "direct_conversation_id": null,
    "emoji_reactions": [],
    "expires_at": null,
    "in_reply_to_account_acct": null,
    "local": false,
    "parent_visible": false,
    "pinned_at": null,
    "quote": null,
    "quote_id": null,
    "quote_url": null,
    "quote_visible": false,
    "quotes_count": 0,
    "spoiler_text": {
      "text/plain": ""
    },
    "thread_muted": false
  },
  "poll": null,
  "reblog": null,
  "reblogged": false,
  "reblogs_count": 0,
  "replies_count": 0,
  "sensitive": false,
  "spoiler_text": "",
  "tags": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/T6ZWIbxQ1fY",
  "url": "http://pasture-one-actor/actor/T6ZWIbxQ1fY",
  "visibility": "public"
}

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/flud_VRq7zI",
  "published": "2024-12-02T19:29:16Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/4w8Z5DJjj9g",
    "published": "2024-12-02T19:29:16Z",
    "content": "two elements as list"
  }
}
pleroma
{
  "account": {
    "acct": "actor@pasture-one-actor",
    "avatar": "http://pleroma/images/avi.png",
    "avatar_static": "http://pleroma/images/avi.png",
    "bot": false,
    "created_at": "2024-12-02T19:25:32.000Z",
    "display_name": "Test Actor",
    "emojis": [],
    "fields": [],
    "followers_count": 0,
    "following_count": 0,
    "fqn": "actor@pasture-one-actor",
    "header": "http://pleroma/images/banner.png",
    "header_static": "http://pleroma/images/banner.png",
    "id": "Aoe2bpClkkU1RKSZPc",
    "last_status_at": "2024-12-02",
    "locked": false,
    "note": "",
    "pleroma": {
      "accepts_chat_messages": null,
      "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,
      "privileges": [],
      "relationship": {},
      "skip_thread_containment": false,
      "tags": []
    },
    "source": {
      "fields": [],
      "note": "",
      "pleroma": {
        "actor_type": "Person",
        "discoverable": false
      },
      "sensitive": false
    },
    "statuses_count": 73,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "two elements as list",
  "created_at": "2024-12-02T19:29:16.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "Aoe2wYshdgYCtUxhg0",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "Aoe2T0EA76luUcrUCe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "two elements as list"
    },
    "context": "http://pasture-one-actor/actor/4w8Z5DJjj9g",
    "conversation_id": 1795584996,
    "direct_conversation_id": null,
    "emoji_reactions": [],
    "expires_at": null,
    "in_reply_to_account_acct": null,
    "local": false,
    "parent_visible": false,
    "pinned_at": null,
    "quote": null,
    "quote_id": null,
    "quote_url": null,
    "quote_visible": false,
    "quotes_count": 0,
    "spoiler_text": {
      "text/plain": ""
    },
    "thread_muted": false
  },
  "poll": null,
  "reblog": null,
  "reblogged": false,
  "reblogs_count": 0,
  "replies_count": 0,
  "sensitive": false,
  "spoiler_text": "",
  "tags": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/4w8Z5DJjj9g",
  "url": "http://pasture-one-actor/actor/4w8Z5DJjj9g",
  "visibility": "public"
}

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/_vv-THc8SVs",
  "published": "2024-12-02T19:29:17Z",
  "object": {
    "type": "Note",
    "attributedTo": {
      "type": "Person",
      "id": "http://pasture-one-actor/actor"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/Sp3iJrN_rHQ",
    "published": "2024-12-02T19:29:17Z",
    "content": "a dictionary"
  }
}
pleroma
{
  "account": {
    "acct": "actor@pasture-one-actor",
    "avatar": "http://pleroma/images/avi.png",
    "avatar_static": "http://pleroma/images/avi.png",
    "bot": false,
    "created_at": "2024-12-02T19:25:32.000Z",
    "display_name": "Test Actor",
    "emojis": [],
    "fields": [],
    "followers_count": 0,
    "following_count": 0,
    "fqn": "actor@pasture-one-actor",
    "header": "http://pleroma/images/banner.png",
    "header_static": "http://pleroma/images/banner.png",
    "id": "Aoe2bpClkkU1RKSZPc",
    "last_status_at": "2024-12-02",
    "locked": false,
    "note": "",
    "pleroma": {
      "accepts_chat_messages": null,
      "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,
      "privileges": [],
      "relationship": {},
      "skip_thread_containment": false,
      "tags": []
    },
    "source": {
      "fields": [],
      "note": "",
      "pleroma": {
        "actor_type": "Person",
        "discoverable": false
      },
      "sensitive": false
    },
    "statuses_count": 74,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "a dictionary",
  "created_at": "2024-12-02T19:29:17.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "Aoe2wd0IJP03gCXp44",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "Aoe2T0EA76luUcrUCe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "a dictionary"
    },
    "context": "http://pasture-one-actor/actor/Sp3iJrN_rHQ",
    "conversation_id": 1761600674,
    "direct_conversation_id": null,
    "emoji_reactions": [],
    "expires_at": null,
    "in_reply_to_account_acct": null,
    "local": false,
    "parent_visible": false,
    "pinned_at": null,
    "quote": null,
    "quote_id": null,
    "quote_url": null,
    "quote_visible": false,
    "quotes_count": 0,
    "spoiler_text": {
      "text/plain": ""
    },
    "thread_muted": false
  },
  "poll": null,
  "reblog": null,
  "reblogged": false,
  "reblogs_count": 0,
  "replies_count": 0,
  "sensitive": false,
  "spoiler_text": "",
  "tags": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/Sp3iJrN_rHQ",
  "url": "http://pasture-one-actor/actor/Sp3iJrN_rHQ",
  "visibility": "public"
}

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/7UpEfd0mQ4E",
  "published": "2024-12-02T19:29:18Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      {
        "type": "Person",
        "id": "http://pasture-one-actor/actor"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/7DnrsHFsdXg",
    "published": "2024-12-02T19:29:18Z",
    "content": "a dictionary"
  }
}
pleroma
{
  "account": {
    "acct": "actor@pasture-one-actor",
    "avatar": "http://pleroma/images/avi.png",
    "avatar_static": "http://pleroma/images/avi.png",
    "bot": false,
    "created_at": "2024-12-02T19:25:32.000Z",
    "display_name": "Test Actor",
    "emojis": [],
    "fields": [],
    "followers_count": 0,
    "following_count": 0,
    "fqn": "actor@pasture-one-actor",
    "header": "http://pleroma/images/banner.png",
    "header_static": "http://pleroma/images/banner.png",
    "id": "Aoe2bpClkkU1RKSZPc",
    "last_status_at": "2024-12-02",
    "locked": false,
    "note": "",
    "pleroma": {
      "accepts_chat_messages": null,
      "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,
      "privileges": [],
      "relationship": {},
      "skip_thread_containment": false,
      "tags": []
    },
    "source": {
      "fields": [],
      "note": "",
      "pleroma": {
        "actor_type": "Person",
        "discoverable": false
      },
      "sensitive": false
    },
    "statuses_count": 75,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "a dictionary",
  "created_at": "2024-12-02T19:29:18.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "Aoe2wh1rLWd2ADJ83k",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "Aoe2T0EA76luUcrUCe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "a dictionary"
    },
    "context": "http://pasture-one-actor/actor/7DnrsHFsdXg",
    "conversation_id": 343633665,
    "direct_conversation_id": null,
    "emoji_reactions": [],
    "expires_at": null,
    "in_reply_to_account_acct": null,
    "local": false,
    "parent_visible": false,
    "pinned_at": null,
    "quote": null,
    "quote_id": null,
    "quote_url": null,
    "quote_visible": false,
    "quotes_count": 0,
    "spoiler_text": {
      "text/plain": ""
    },
    "thread_muted": false
  },
  "poll": null,
  "reblog": null,
  "reblogged": false,
  "reblogs_count": 0,
  "replies_count": 0,
  "sensitive": false,
  "spoiler_text": "",
  "tags": [],
  "text": null,
  "uri": "http://pasture-one-actor/actor/7DnrsHFsdXg",
  "url": "http://pasture-one-actor/actor/7DnrsHFsdXg",
  "visibility": "public"
}