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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture-one-actor/actor/rc5Y3r6YWEs",
  "published": "2024-10-30T15:41:09Z",
  "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/0aXrAhuwxgQ",
    "published": "2024-10-30T15:41:09Z",
    "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-10-30T15:37:25.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": "AnXJIMNKq5TvUn7jEG",
    "last_status_at": "2024-10-30",
    "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-10-30T15:41:09.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnXJd0Mtr7gfK6lSG8",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnXJAIINteeQ2U12rA",
      "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/0aXrAhuwxgQ",
    "conversation_id": 452201139,
    "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/0aXrAhuwxgQ",
  "url": "http://pasture-one-actor/actor/0aXrAhuwxgQ",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture-one-actor/actor/pni6MYIxCf0",
  "published": "2024-10-30T15:41:09Z",
  "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/viRr8YdTxAc",
    "published": "2024-10-30T15:41:09Z",
    "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-10-30T15:37:25.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": "AnXJIMNKq5TvUn7jEG",
    "last_status_at": "2024-10-30",
    "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-10-30T15:41:09.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnXJd4f7tIdwdnK4Dw",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnXJAIINteeQ2U12rA",
      "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/viRr8YdTxAc",
    "conversation_id": 1881685699,
    "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/viRr8YdTxAc",
  "url": "http://pasture-one-actor/actor/viRr8YdTxAc",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture-one-actor/actor/Ga4BJemL8fs",
  "published": "2024-10-30T15:41:10Z",
  "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/nuGy5_SNH20",
    "published": "2024-10-30T15:41:10Z",
    "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-10-30T15:37:25.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": "AnXJIMNKq5TvUn7jEG",
    "last_status_at": "2024-10-30",
    "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-10-30T15:41:10.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnXJd8y3sqANzgDFIG",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnXJAIINteeQ2U12rA",
      "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/nuGy5_SNH20",
    "conversation_id": 730005272,
    "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/nuGy5_SNH20",
  "url": "http://pasture-one-actor/actor/nuGy5_SNH20",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture-one-actor/actor/eXSGdOcP718",
  "published": "2024-10-30T15:41:11Z",
  "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/WTQaWK-CKjo",
    "published": "2024-10-30T15:41:11Z",
    "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-10-30T15:37:25.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": "AnXJIMNKq5TvUn7jEG",
    "last_status_at": "2024-10-30",
    "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-10-30T15:41:11.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnXJdCtbHMyUB09jtY",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnXJAIINteeQ2U12rA",
      "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/WTQaWK-CKjo",
    "conversation_id": 329796952,
    "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/WTQaWK-CKjo",
  "url": "http://pasture-one-actor/actor/WTQaWK-CKjo",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture-one-actor/actor/jv9fVWbcQ2w",
  "published": "2024-10-30T15:41:11Z",
  "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/1faPOrqOIbo",
    "published": "2024-10-30T15:41:11Z",
    "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-10-30T15:37:25.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": "AnXJIMNKq5TvUn7jEG",
    "last_status_at": "2024-10-30",
    "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-10-30T15:41:11.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnXJdGtOQ5BYZW5d7w",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnXJAIINteeQ2U12rA",
      "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/1faPOrqOIbo",
    "conversation_id": 733321167,
    "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/1faPOrqOIbo",
  "url": "http://pasture-one-actor/actor/1faPOrqOIbo",
  "visibility": "public"
}