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://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/activity/E8YuRSn4sxQ",
  "published": "2025-08-19T08:28:01Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/object/xdos8zCIys4",
    "published": "2025-08-19T08:28:01Z",
    "content": "single element"
  }
}
mitra
{
  "id": "0198c171-4514-fbb8-1414-6d2c49dbcf8c",
  "uri": "http://pasture-one-actor/object/xdos8zCIys4",
  "url": "http://pasture-one-actor/object/xdos8zCIys4",
  "created_at": "2025-08-19T08:28:01.000Z",
  "edited_at": null,
  "account": {
    "id": "0198c16d-6ca2-119d-3bb9-715ace3fa0ab",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-08-19T08:23:50.689Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 102,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "single element",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "quote": null,
  "mentions": [
    {
      "id": "0198c16c-2814-7f6f-b417-cc3fd1baebc3",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": true
  },
  "hidden": false,
  "ipfs_cid": null,
  "links": []
}

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://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/activity/P5u3n-XzucA",
  "published": "2025-08-19T08:28:03Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/object/PRcwdmus9As",
    "published": "2025-08-19T08:28:03Z",
    "content": "single element as list"
  }
}
mitra
{
  "id": "0198c171-4af2-b066-1768-1c5b518934ff",
  "uri": "http://pasture-one-actor/object/PRcwdmus9As",
  "url": "http://pasture-one-actor/object/PRcwdmus9As",
  "created_at": "2025-08-19T08:28:03.000Z",
  "edited_at": null,
  "account": {
    "id": "0198c16d-6ca2-119d-3bb9-715ace3fa0ab",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-08-19T08:23:50.689Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 103,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "single element as list",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "quote": null,
  "mentions": [
    {
      "id": "0198c16c-2814-7f6f-b417-cc3fd1baebc3",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": true
  },
  "hidden": false,
  "ipfs_cid": null,
  "links": []
}

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://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/activity/u14t4GhiME8",
  "published": "2025-08-19T08:28:04Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/object/m0_DNu5uxjc",
    "published": "2025-08-19T08:28:04Z",
    "content": "two elements as list"
  }
}
mitra
{
  "id": "0198c171-50ce-8e6f-4005-95c2ec2bd7c9",
  "uri": "http://pasture-one-actor/object/m0_DNu5uxjc",
  "url": "http://pasture-one-actor/object/m0_DNu5uxjc",
  "created_at": "2025-08-19T08:28:04.000Z",
  "edited_at": null,
  "account": {
    "id": "0198c16d-6ca2-119d-3bb9-715ace3fa0ab",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-08-19T08:23:50.689Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 104,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "two elements as list",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "quote": null,
  "mentions": [
    {
      "id": "0198c16c-2814-7f6f-b417-cc3fd1baebc3",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": true
  },
  "hidden": false,
  "ipfs_cid": null,
  "links": []
}

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://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/activity/7JOE5y3A1u4",
  "published": "2025-08-19T08:28:06Z",
  "object": {
    "type": "Note",
    "attributedTo": {
      "type": "Person",
      "id": "http://pasture-one-actor/actor"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/object/NKR3NGXQ-Nc",
    "published": "2025-08-19T08:28:06Z",
    "content": "a dictionary"
  }
}
mitra
{
  "id": "0198c171-569e-6a03-51de-7495dd785386",
  "uri": "http://pasture-one-actor/object/NKR3NGXQ-Nc",
  "url": "http://pasture-one-actor/object/NKR3NGXQ-Nc",
  "created_at": "2025-08-19T08:28:06.000Z",
  "edited_at": null,
  "account": {
    "id": "0198c16d-6ca2-119d-3bb9-715ace3fa0ab",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-08-19T08:23:50.689Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 105,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "a dictionary",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "quote": null,
  "mentions": [
    {
      "id": "0198c16c-2814-7f6f-b417-cc3fd1baebc3",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": true
  },
  "hidden": false,
  "ipfs_cid": null,
  "links": []
}

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://mitra/users/admin"
  ],
  "id": "http://pasture-one-actor/activity/IKxK-vt1zXE",
  "published": "2025-08-19T08:28:07Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      {
        "type": "Person",
        "id": "http://pasture-one-actor/actor"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/object/tPyxBwA03CY",
    "published": "2025-08-19T08:28:07Z",
    "content": "a dictionary"
  }
}
mitra
{
  "id": "0198c171-5c7f-2cbb-2afd-505baf42c687",
  "uri": "http://pasture-one-actor/object/tPyxBwA03CY",
  "url": "http://pasture-one-actor/object/tPyxBwA03CY",
  "created_at": "2025-08-19T08:28:07.000Z",
  "edited_at": null,
  "account": {
    "id": "0198c16d-6ca2-119d-3bb9-715ace3fa0ab",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "actor_id": "http://pasture-one-actor/actor",
    "url": "http://pasture-one-actor/actor",
    "display_name": "Test Actor",
    "created_at": "2025-08-19T08:23:50.689Z",
    "note": "",
    "avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
    "header": "http://mitra/api/v1/accounts/identicon",
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 106,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "a dictionary",
  "language": null,
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "poll": null,
  "media_attachments": [],
  "quote": null,
  "mentions": [
    {
      "id": "0198c16c-2814-7f6f-b417-cc3fd1baebc3",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "bookmarked": false,
  "pleroma": {
    "emoji_reactions": [],
    "in_reply_to_account_acct": null,
    "parent_visible": true,
    "quote": null,
    "quote_visible": true
  },
  "hidden": false,
  "ipfs_cid": null,
  "links": []
}