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"
}
Support table
content | akkoma | firefish | mastodon 4.1 | mastodon 4.2 | mitra | sharkey | Example |
---|---|---|---|---|---|---|---|
All fields | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Example 1 |
without id | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | Example 2 |
without published | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | Example 3 |
without attributedTo | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | Example 4 |
without type | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | Example 5 |
Examples
Example 1
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/CtKT59OewFE",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/NYWd4Pv6CGM",
"published": "2024-02-03T09:52:55Z",
"content": "All fields"
}
}
{
"poll": null,
"quote_id": null,
"pleroma": {
"content": {
"text/plain": "All fields"
},
"context": "http://pasture_one_actor/actor/T2BIveIE41w",
"conversation_id": 1559808853,
"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
},
"muted": false,
"text": null,
"uri": "http://pasture_one_actor/actor/T2BIveIE41w",
"content": "All fields",
"quote": null,
"spoiler_text": "",
"in_reply_to_account_id": null,
"id": "Ad1u3lROGrDaIRTVdA",
"emojis": [],
"created_at": "2023-12-21T09:17:35.000Z",
"akkoma": {
"source": null
},
"reblog": null,
"pinned": false,
"favourited": false,
"edited_at": null,
"favourites_count": 0,
"replies_count": 0,
"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": "2023-12-18T16:32:33.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": "AcwJKv0kdvMWFq5fo8",
"last_status_at": "2023-12-21T09:17:36",
"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": 162,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"media_attachments": [],
"bookmarked": false,
"url": "http://pasture_one_actor/actor/T2BIveIE41w",
"language": null,
"application": null,
"sensitive": false,
"visibility": "public",
"card": null,
"reblogged": false,
"reblogs_count": 0,
"in_reply_to_id": null,
"emoji_reactions": [],
"mentions": [
{
"acct": "admin",
"id": "AcwFrrkmWtE9GiOT9U",
"url": "http://akkoma/users/admin",
"username": "admin"
}
],
"tags": []
}
{
"id": "9na39x3kp8r0scec",
"createdAt": "2023-12-15T11:07:14.000Z",
"userId": "9n9wzlp9dblvlr0i",
"user": {
"id": "9n9wzlp9dblvlr0i",
"name": "Test Actor",
"username": "actor",
"host": "pasture_one_actor",
"avatarUrl": "http://firefish_web/identicon/9n9wzlp9dblvlr0i",
"avatarBlurhash": null,
"avatarColor": null,
"isLocked": false,
"speakAsCat": true,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": [],
"onlineStatus": "unknown",
"driveCapacityOverrideMb": null
},
"text": "All fields",
"cw": null,
"visibility": "specified",
"visibleUserIds": [
"9n9wxbguo109fa49"
],
"renoteCount": 0,
"repliesCount": 0,
"reactions": {},
"reactionEmojis": [],
"emojis": [],
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9n9wxbguo109fa49"
],
"uri": "http://pasture_one_actor/actor/Ha8lgOgfrJY"
}
{
"id": "111584112481066013",
"created_at": "2023-12-15T11:07:14.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture_one_actor/actor/Ha8lgOgfrJY",
"url": "http://pasture_one_actor/actor/Ha8lgOgfrJY",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "All fields",
"filtered": [],
"reblog": null,
"account": {
"id": "111353016223646385",
"username": "actor",
"acct": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2023-11-04T00:00:00.000Z",
"note": "",
"url": "http://pasture_one_actor/actor",
"avatar": "http://mastodon41web/avatars/original/missing.png",
"avatar_static": "http://mastodon41web/avatars/original/missing.png",
"header": "http://mastodon41web/headers/original/missing.png",
"header_static": "http://mastodon41web/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 941,
"last_status_at": "2023-12-15",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
{
"id": "111866935767954735",
"created_at": "2024-02-03T09:52:55.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture_one_actor/actor/NYWd4Pv6CGM",
"url": "http://pasture_one_actor/actor/NYWd4Pv6CGM",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "All fields",
"filtered": [],
"reblog": null,
"account": {
"id": "111866920163200046",
"username": "actor",
"acct": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2024-02-03T00:00:00.000Z",
"note": "",
"url": "http://pasture_one_actor/actor",
"uri": "http://pasture_one_actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 91,
"last_status_at": "2024-02-03",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
{
"id": "018d312f-d788-1a65-0a49-3c3ab6081196",
"uri": "http://pasture_one_actor/actor/aGv_1ix-bqc",
"url": null,
"created_at": "2024-01-22T12:40:30Z",
"edited_at": null,
"account": {
"id": "018bed73-d3b0-86c0-8ab2-d8150467b635",
"username": "actor",
"acct": "actor@pasture_one_actor",
"actor_id": "http://pasture_one_actor/actor",
"url": "http://pasture_one_actor/actor",
"display_name": "Test Actor",
"created_at": "2023-11-20T15:57:52.944891Z",
"note": "",
"avatar": null,
"header": null,
"locked": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 276,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "All fields",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [],
"mentions": [
{
"id": "018b37d3-6116-2b89-b259-447ae212e3fd",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"ipfs_cid": null,
"token_id": null,
"token_tx_id": null,
"links": []
}
{
"id": "9na39x3kr2cp002v",
"uri": "http://pasture_one_actor/actor/Ha8lgOgfrJY",
"url": "http://pasture_one_actor/actor/Ha8lgOgfrJY",
"account": {
"id": "9mvq3ljkmuna0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2023-12-05T09:49:37.616Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 145,
"note": "",
"url": "http://pasture_one_actor/actor",
"uri": "http://pasture_one_actor/actor",
"avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
"avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
"header": "https://dev.joinsharkey.org/static-assets/transparent.png",
"header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
"emojis": [],
"moved": null,
"fields": [],
"bot": false,
"discoverable": true
},
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"content": "<p><span>All fields</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "All fields",
"created_at": "2023-12-15T11:07:14.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null
}
Example 2
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/FbKO5gZ2d7k",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": null,
"published": "2024-02-03T09:52:58Z",
"content": "without id"
}
}
no result
no result
no result
no result
no result
no result
Example 3
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/LbyfW7zToIo",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/GZtQvY4EeGE",
"published": null,
"content": "without published"
}
}
no result
no result
no result
no result
no result
no result
Example 4
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": null,
"to": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/O-u5_O6J4Q8",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/si_2GHcHNTM",
"published": "2024-02-03T09:53:02Z",
"content": "without attributedTo"
}
}
no result
no result
{
"id": "111584116674229365",
"created_at": "2023-12-15T11:08:18.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture_one_actor/actor/YkMoptDHKpI",
"url": "http://pasture_one_actor/actor/YkMoptDHKpI",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "without attributedTo",
"filtered": [],
"reblog": null,
"account": {
"id": "111353016223646385",
"username": "actor",
"acct": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2023-11-04T00:00:00.000Z",
"note": "",
"url": "http://pasture_one_actor/actor",
"avatar": "http://mastodon41web/avatars/original/missing.png",
"avatar_static": "http://mastodon41web/avatars/original/missing.png",
"header": "http://mastodon41web/headers/original/missing.png",
"header_static": "http://mastodon41web/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 943,
"last_status_at": "2023-12-15",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
{
"id": "111866936218719736",
"created_at": "2024-02-03T09:53:02.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture_one_actor/actor/si_2GHcHNTM",
"url": "http://pasture_one_actor/actor/si_2GHcHNTM",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "without attributedTo",
"filtered": [],
"reblog": null,
"account": {
"id": "111866920163200046",
"username": "actor",
"acct": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2024-02-03T00:00:00.000Z",
"note": "",
"url": "http://pasture_one_actor/actor",
"uri": "http://pasture_one_actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 93,
"last_status_at": "2024-02-03",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
no result
no result
Example 5
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/YA-N7GjMUqg",
"object": {
"type": null,
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/GRoBT1SZe3A",
"published": "2024-02-03T09:53:04Z",
"content": "without type"
}
}
no result
no result
no result
no result
no result
no result