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://misskey/users/9wx9pmhphj1r0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/8E1jh_m2aHQ",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9wx9pmhphj1r0001"
],
"id": "http://pasture-one-actor/actor/J7RS6VYDhhs",
"published": "2024-08-14T10:28:46Z",
"content": "All fields"
}
}
misskey
{
"id": "9wx9wg8grri6003f",
"createdAt": "2024-08-14T10:28:46.000Z",
"userId": "9wx9r4jrrri60002",
"user": {
"id": "9wx9r4jrrri60002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "All fields",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/actor/J7RS6VYDhhs",
"clippedCount": 0
}
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://misskey/users/9wx9pmhphj1r0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/gJB0MeJ6b7I",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9wx9pmhphj1r0001"
],
"id": null,
"published": "2024-08-14T10:28:47Z",
"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://misskey/users/9wx9pmhphj1r0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/oue6Yu0D4vM",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9wx9pmhphj1r0001"
],
"id": "http://pasture-one-actor/actor/4ohlUDBhFa8",
"published": null,
"content": "without published"
}
}
misskey
{
"id": "9wx9wqc1rri6003g",
"createdAt": "2024-08-14T10:28:59.089Z",
"userId": "9wx9r4jrrri60002",
"user": {
"id": "9wx9r4jrrri60002",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "without published",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/actor/4ohlUDBhFa8",
"clippedCount": 0
}
Example 4¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": null,
"to": [
"http://misskey/users/9wx9pmhphj1r0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/jEr5vMOv8pk",
"object": {
"type": "Note",
"attributedTo": null,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9wx9pmhphj1r0001"
],
"id": "http://pasture-one-actor/actor/VdTiUWZaCm8",
"published": "2024-08-14T10:28:59Z",
"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://misskey/users/9wx9pmhphj1r0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/vEenDZlYkOc",
"object": {
"type": null,
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/9wx9pmhphj1r0001"
],
"id": "http://pasture-one-actor/actor/nWReHARXxms",
"published": "2024-08-14T10:29:11Z",
"content": "without type"
}
}
no result