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/HZfrOcTPD60",
"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/jr7Hly5C4aw",
"published": "2024-02-28T19:03:24Z",
"content": "All fields"
}
}
akkoma
{
"text": null,
"language": null,
"pleroma": {
"content": {
"text/plain": "All fields"
},
"context": "http://pasture_one_actor/actor/jr7Hly5C4aw",
"conversation_id": 1518871757,
"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
},
"reblog": null,
"uri": "http://pasture_one_actor/actor/jr7Hly5C4aw",
"media_attachments": [],
"card": null,
"quote": null,
"edited_at": null,
"spoiler_text": "",
"muted": false,
"tags": [],
"id": "AfLlnKM2rk6kkHVXJA",
"akkoma": {
"source": null
},
"favourites_count": 0,
"favourited": false,
"quote_id": null,
"reblogs_count": 0,
"reblogged": false,
"in_reply_to_account_id": null,
"content": "All fields",
"visibility": "public",
"in_reply_to_id": null,
"created_at": "2024-02-28T19:03:24.000Z",
"bookmarked": false,
"emojis": [],
"url": "http://pasture_one_actor/actor/jr7Hly5C4aw",
"application": null,
"sensitive": false,
"replies_count": 0,
"emoji_reactions": [],
"pinned": false,
"poll": null,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-02-28T18:59:50.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": "AfLlTX1O3rWOEtPDG4",
"last_status_at": "2024-02-28T19:03:25",
"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": 80,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"mentions": [
{
"acct": "witch",
"id": "AfLlJwB9B0nqRguGFU",
"url": "http://akkoma/users/witch",
"username": "witch"
}
]
}
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/4lgO_WN9ZBc",
"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-02-28T19:03:26Z",
"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/WuRaBTyGnSM",
"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/WdqP5VVEWXM",
"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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/HqYo0YaXegg",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/IvGVp_-D5nU",
"published": "2024-02-28T19:03:31Z",
"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/v-80BEr05bE",
"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/Vxlmxy_D-v4",
"published": "2024-02-28T19:03:33Z",
"content": "without type"
}
}
no result