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://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/WWKoqbZ3jhc",
"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/mAgQtFPOyec",
"published": "2024-03-06T17:44:22Z",
"content": "All fields"
}
}
akkoma
{
"card": null,
"pleroma": {
"content": {
"text/plain": "All fields"
},
"context": "http://pasture_one_actor/actor/mAgQtFPOyec",
"conversation_id": 1564232893,
"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
},
"content": "All fields",
"replies_count": 0,
"uri": "http://pasture_one_actor/actor/mAgQtFPOyec",
"in_reply_to_account_id": null,
"quote": null,
"spoiler_text": "",
"quote_id": null,
"id": "AfaAKyWCcHIZjljM8G",
"poll": null,
"favourited": false,
"visibility": "public",
"url": "http://pasture_one_actor/actor/mAgQtFPOyec",
"in_reply_to_id": null,
"emoji_reactions": [],
"favourites_count": 0,
"edited_at": null,
"akkoma": {
"source": null
},
"bookmarked": false,
"reblogs_count": 0,
"text": null,
"reblogged": false,
"application": null,
"sensitive": false,
"pinned": false,
"muted": false,
"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-03-06T17:40:42.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": "AfaA0fT9jNmmrjce5g",
"last_status_at": "2024-03-06",
"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": 81,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"mentions": [
{
"acct": "witch",
"id": "Afa9srfZMHPS3qow9Q",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"created_at": "2024-03-06T17:44:22.000Z",
"emojis": [],
"media_attachments": [],
"tags": [],
"reblog": null,
"language": null
}
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://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/fallj7ZWZ3c",
"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-03-06T17:44:24Z",
"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://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/wOCQFo300ac",
"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/egf8m4dndz8",
"published": null,
"content": "without published"
}
}
no result
Example 4¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": null,
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/eZHKmPPvAoo",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/GMQ4zUP_Rhc",
"published": "2024-03-06T17:44:28Z",
"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://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/QPJD8bpoj6M",
"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/Fu5Gs8_GY7o",
"published": "2024-03-06T17:44:30Z",
"content": "without type"
}
}
no result