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¶
```json title="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/rA_FVc9pbn0",
"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/izu5vg7sh1Y",
"published": "2024-03-31T14:58:33Z",
"content": "All fields"
}
}
```
```json title="akkoma"
{
"replies_count": 0,
"pleroma": {
"content": {
"text/plain": "All fields"
},
"context": "http://pasture-one-actor/actor/izu5vg7sh1Y",
"conversation_id": 1500535274,
"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
},
"visibility": "public",
"muted": false,
"uri": "http://pasture-one-actor/actor/izu5vg7sh1Y",
"bookmarked": false,
"language": null,
"content": "All fields",
"quote": null,
"id": "AgPkNwbghZvPBbb4gy",
"reblogged": false,
"akkoma": {
"source": null
},
"url": "http://pasture-one-actor/actor/izu5vg7sh1Y",
"created_at": "2024-03-31T14:58:33.000Z",
"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-03-31T14:52:27.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": "AgPjqBIVZlxWu1WhiS",
"last_status_at": "2024-03-31",
"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": 78,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"edited_at": null,
"spoiler_text": "",
"poll": null,
"reblogs_count": 0,
"emoji_reactions": [],
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"mentions": [
{
"acct": "witch",
"id": "AgPji6ZwwMZYkrScmO",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"application": null,
"sensitive": false,
"pinned": false,
"favourited": false,
"text": null,
"emojis": [],
"media_attachments": [],
"card": null,
"tags": [],
"reblog": null,
"quote_id": null,
"favourites_count": 0
}
```
Example 2¶
```json title="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/8l2mZmXH588",
"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-03-31T14:58:34Z",
"content": "without id"
}
}
```
no result
Example 3¶
```json title="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/xJ0i9ObuXlA",
"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/lZ9BsFac2yw",
"published": null,
"content": "without published"
}
}
```
```json title="akkoma"
{
"replies_count": 0,
"pleroma": {
"content": {
"text/plain": "without published"
},
"context": "http://pasture-one-actor/actor/lZ9BsFac2yw",
"conversation_id": 93743494,
"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
},
"visibility": "public",
"muted": false,
"uri": "http://pasture-one-actor/actor/lZ9BsFac2yw",
"bookmarked": false,
"language": null,
"content": "without published",
"quote": null,
"id": "AgPkP3PKu02kZHLgWG",
"reblogged": false,
"akkoma": {
"source": null
},
"url": "http://pasture-one-actor/actor/lZ9BsFac2yw",
"created_at": "1970-01-01T00:00:00Z",
"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-03-31T14:52:27.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": "AgPjqBIVZlxWu1WhiS",
"last_status_at": "2024-03-31",
"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": 79,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"edited_at": null,
"spoiler_text": "",
"poll": null,
"reblogs_count": 0,
"emoji_reactions": [],
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"mentions": [
{
"acct": "witch",
"id": "AgPji6ZwwMZYkrScmO",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"application": null,
"sensitive": false,
"pinned": false,
"favourited": false,
"text": null,
"emojis": [],
"media_attachments": [],
"card": null,
"tags": [],
"reblog": null,
"quote_id": null,
"favourites_count": 0
}
```
Example 4¶
```json title="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/0z5UXw0KdTI",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/lVoGH6hhs_4",
"published": "2024-03-31T14:58:46Z",
"content": "without attributedTo"
}
}
```
no result
Example 5¶
```json title="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/tUjroVTZDS4",
"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/249ZvmBAkPo",
"published": "2024-03-31T14:58:57Z",
"content": "without type"
}
}
```
no result