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://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/yYBeauwdOS0",
"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/cK86UVeu2bA",
"published": "2024-03-06T16:46:31Z",
"content": "All fields"
}
}
mastodon
{
"id": "112049756012864241",
"created_at": "2024-03-06T16:46:31.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/cK86UVeu2bA",
"url": "http://pasture_one_actor/actor/cK86UVeu2bA",
"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": "112049740239482109",
"username": "actor",
"acct": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2024-03-06T00: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": 92,
"last_status_at": "2024-03-06",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": 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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/Hj5dPJhz4vM",
"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-03-06T16:46:33Z",
"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://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/f7AESTJV5zQ",
"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/8Cj0DeJr7es",
"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://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/C9yNXgs6fVk",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/kDTBmLwax2I",
"published": "2024-03-06T16:46:38Z",
"content": "without attributedTo"
}
}
mastodon
{
"id": "112049756468929002",
"created_at": "2024-03-06T16:46:38.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/kDTBmLwax2I",
"url": "http://pasture_one_actor/actor/kDTBmLwax2I",
"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": "112049740239482109",
"username": "actor",
"acct": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2024-03-06T00: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": 94,
"last_status_at": "2024-03-06",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture_one_actor/actor/hwjwhO7zNfM",
"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/kRlVpUtB6dQ",
"published": "2024-03-06T16:46:40Z",
"content": "without type"
}
}
no result