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://hollo/@john",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/D6g9QVbkzTc",
"published": "2024-11-22T15:38:40Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/QckDAv3Y47U",
"published": "2024-11-22T15:38:40Z",
"content": "All fields",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
hollo
{
"id": "01935486-7c00-7290-9128-003713efb2f4",
"created_at": "2024-11-22T15:38:40.000Z",
"in_reply_to_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/QckDAv3Y47U",
"url": "http://pasture-one-actor/actor/QckDAv3Y47U",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "All fields",
"reblog": null,
"quote_id": null,
"quote": null,
"application": null,
"account": {
"id": "01935482-678f-71a8-8b2e-20e932464261",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"created_at": "2024-11-22T15:34:12.560Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://hollo/image/avatars/original/missing.png",
"avatar_static": "http://hollo/image/avatars/original/missing.png",
"header": "http://hollo/image/headers/original/missing.png",
"header_static": "http://hollo/image/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 0,
"moved": null,
"last_status_at": null,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"emojis": [],
"emoji_reactions": [],
"poll": null,
"filtered": 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://hollo/@john",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ED4ZBN1tMPM",
"published": "2024-11-22T15:38:41Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://hollo/@john"
],
"id": null,
"published": "2024-11-22T15:38:41Z",
"content": "without id",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
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://hollo/@john",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/UFYrXbR0pFY",
"published": "2024-11-22T15:38:53Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/ZkvwcwJFOn4",
"published": null,
"content": "without published",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
hollo
{
"id": "01935486-b13d-7672-abd9-34f75215ae4b",
"created_at": "2024-11-22T15:38:53.629Z",
"in_reply_to_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/ZkvwcwJFOn4",
"url": "http://pasture-one-actor/actor/ZkvwcwJFOn4",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "without published",
"reblog": null,
"quote_id": null,
"quote": null,
"application": null,
"account": {
"id": "01935482-678f-71a8-8b2e-20e932464261",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"created_at": "2024-11-22T15:34:12.560Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://hollo/image/avatars/original/missing.png",
"avatar_static": "http://hollo/image/avatars/original/missing.png",
"header": "http://hollo/image/headers/original/missing.png",
"header_static": "http://hollo/image/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 0,
"moved": null,
"last_status_at": null,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"emojis": [],
"emoji_reactions": [],
"poll": null,
"filtered": null
}
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://hollo/@john",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/CTAiKoAYkZE",
"published": "2024-11-22T15:38:54Z",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/bPsJlbVbJrs",
"published": "2024-11-22T15:38:54Z",
"content": "without attributedTo",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
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://hollo/@john",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/T5Oi2KzZKs0",
"published": "2024-11-22T15:39:06Z",
"object": {
"type": null,
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://hollo/@john"
],
"id": "http://pasture-one-actor/actor/7bLAzHgcnpI",
"published": "2024-11-22T15:39:06Z",
"content": "without type",
"tag": [
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
no result