Skip to content

Necessary Properties

With this support table, we want to illustrate, which properties can be removed from an object, and still create an appropriate response. We note that the basic form of an object is

{
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/actor/wFuWTn-8BiE",
    "published": "2023-11-28T11:38:15Z",
    "content": "All fields"
}

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/POwjECiNOno",
  "published": "2024-10-26T09:29:21Z",
  "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/NQ_fLmYGCD8",
    "published": "2024-10-26T09:29:21Z",
    "content": "All fields"
  }
}
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-26T09:23:07.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": "AnOTprhcX5MngNbPge",
    "last_status_at": "2024-10-26",
    "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": 94,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "All fields",
  "created_at": "2024-10-26T09:29:21.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnOUOOPZQc4ayOcjIW",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnOThjXjtHKfPkBSWe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "All fields"
    },
    "context": "http://pasture-one-actor/actor/NQ_fLmYGCD8",
    "conversation_id": 624610653,
    "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/NQ_fLmYGCD8",
  "url": "http://pasture-one-actor/actor/NQ_fLmYGCD8",
  "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/WpcoulXRCt0",
  "published": "2024-10-26T09:29:22Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": null,
    "published": "2024-10-26T09:29:22Z",
    "content": "without id"
  }
}

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/L5e2Wa8Z9Ug",
  "published": "2024-10-26T09:29:34Z",
  "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/PLMyz229KkQ",
    "published": null,
    "content": "without published"
  }
}
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-26T09:23:07.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": "AnOTprhcX5MngNbPge",
    "last_status_at": "2024-10-26",
    "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": 95,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "without published",
  "created_at": "",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AnOUPZjGpoCsMdOzdg",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [],
  "mentions": [
    {
      "acct": "full",
      "id": "AnOThjXjtHKfPkBSWe",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "bookmark_folder": null,
    "content": {
      "text/plain": "without published"
    },
    "context": "http://pasture-one-actor/actor/PLMyz229KkQ",
    "conversation_id": 1464822312,
    "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/PLMyz229KkQ",
  "url": "http://pasture-one-actor/actor/PLMyz229KkQ",
  "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/73rd5ewY4y4",
  "published": "2024-10-26T09:29:35Z",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/ALOMrcW4Hrs",
    "published": "2024-10-26T09:29:35Z",
    "content": "without attributedTo"
  }
}

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": [
    "http://pleroma/users/full",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/vlRgARPX-6U",
  "published": "2024-10-26T09:29:47Z",
  "object": {
    "type": null,
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pleroma/users/full"
    ],
    "id": "http://pasture-one-actor/actor/UZMKuYRT2LE",
    "published": "2024-10-26T09:29:47Z",
    "content": "without type"
  }
}

no result