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/BeDu-OBhPYY",
"published": "2024-12-02T09:39:54Z",
"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/jyTC5j3IrW4",
"published": "2024-12-02T09:39:54Z",
"content": "All fields"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "All fields"
},
"context": "http://pasture-one-actor/actor/jyTC5j3IrW4",
"conversation_id": 1718533954,
"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/jyTC5j3IrW4",
"favourites_count": 0,
"language": null,
"quote": null,
"bookmarked": false,
"reblog": null,
"id": "AodCLQhYjck1sEjpLc",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodBoCeZsxPremkTgG",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/jyTC5j3IrW4",
"emojis": [],
"content": "All fields",
"created_at": "2024-12-02T09:39:54.000Z",
"muted": false,
"favourited": false,
"quote_id": null,
"edited_at": null,
"poll": null,
"application": null,
"akkoma": {
"source": null
},
"sensitive": false,
"visibility": "public",
"text": null,
"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-02T09:35:31.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": "AodBxCPYDNsGbQlEkS",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/E21JltiSod8",
"published": "2024-12-02T09:39:55Z",
"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-02T09:39:55Z",
"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/K41R8nJwdhI",
"published": "2024-12-02T09:40:07Z",
"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/yPsf6f-X7Vk",
"published": null,
"content": "without published"
}
}
akkoma
{
"spoiler_text": "",
"pinned": false,
"pleroma": {
"content": {
"text/plain": "without published"
},
"context": "http://pasture-one-actor/actor/yPsf6f-X7Vk",
"conversation_id": 1358251834,
"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/yPsf6f-X7Vk",
"favourites_count": 0,
"language": null,
"quote": null,
"bookmarked": false,
"reblog": null,
"id": "AodCMbX7wqlvl1Q1iq",
"in_reply_to_account_id": null,
"card": null,
"in_reply_to_id": null,
"replies_count": 0,
"mentions": [
{
"acct": "witch",
"id": "AodBoCeZsxPremkTgG",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"url": "http://pasture-one-actor/actor/yPsf6f-X7Vk",
"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",
"text": null,
"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-02T09:35:31.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": "AodBxCPYDNsGbQlEkS",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/xf3OFjty5Ps",
"published": "2024-12-02T09:40:07Z",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/rHCsA50nWWk",
"published": "2024-12-02T09:40:07Z",
"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/gMr81upHMX0",
"published": "2024-12-02T09:40:19Z",
"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/31-nG3_Ny2U",
"published": "2024-12-02T09:40:19Z",
"content": "without type"
}
}
no result