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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/hRcJkqEin6Q",
"published": "2024-12-02T18:36:29Z",
"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/DGJCKPPa7T8",
"published": "2024-12-02T18:36:29Z",
"content": "All fields"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "All fields"
},
"context": "http://pasture-one-actor/actor/DGJCKPPa7T8",
"conversation_id": 1456760265,
"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/DGJCKPPa7T8",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "AodyETfkQX8wbPyr6e",
"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/DGJCKPPa7T8",
"emojis": [],
"content": "All fields",
"created_at": "2024-12-02T18:36:29.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": 104,
"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/5Ms2XEFydEg",
"published": "2024-12-02T18:36:30Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": null,
"published": "2024-12-02T18:36:30Z",
"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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/0UszMxwvqO0",
"published": "2024-12-02T18:36:41Z",
"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/IvOLnxh3arM",
"published": null,
"content": "without published"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "without published"
},
"context": "http://pasture-one-actor/actor/IvOLnxh3arM",
"conversation_id": 74016688,
"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/IvOLnxh3arM",
"favourites_count": 0,
"language": null,
"quote": null,
"text": null,
"bookmarked": false,
"reblog": null,
"id": "AodyFbXgeUHvIgkPGC",
"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/IvOLnxh3arM",
"emojis": [],
"content": "without published",
"created_at": "1970-01-01T00:00:00Z",
"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": 105,
"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/nI_y3nFuO5I",
"published": "2024-12-02T18:36:42Z",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/6EqCxO_5gG0",
"published": "2024-12-02T18:36:42Z",
"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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/X6jZQBE962Y",
"published": "2024-12-02T18:36:53Z",
"object": {
"type": null,
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/4jGXZr1by-M",
"published": "2024-12-02T18:36:53Z",
"content": "without type"
}
}
no result