Language support¶
The content and contentMap properties are defined in the ActivityStreams Vocabulary.
The support for natural language values is described in ActivityStreams.
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/fpDm6jvhMsw",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/XTOJLmpCMek",
"published": "2024-03-04T16:27:46Z",
"content": "text"
}
}
sharkey
{
"id": "9qgpy9xsbg0k0039",
"uri": "http://pasture_one_actor/actor/XTOJLmpCMek",
"url": "http://pasture_one_actor/actor/XTOJLmpCMek",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 86,
"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>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-03-04T16:27:46.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¶
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/kz7Ow_SGOuk",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/fjBHXe_UPIw",
"published": "2024-03-04T16:27:48Z",
"content": "text",
"contentMap": {
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9qgpybhcbg0k003a",
"uri": "http://pasture_one_actor/actor/fjBHXe_UPIw",
"url": "http://pasture_one_actor/actor/fjBHXe_UPIw",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 87,
"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>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-03-04T16:27:48.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 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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/xtc_zUfkcqs",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/UrudcqJF4Ic",
"published": "2024-03-04T16:27:50Z",
"content": "text",
"contentMap": {
"en": "English"
}
}
}
sharkey
{
"id": "9qgpyd0wbg0k003b",
"uri": "http://pasture_one_actor/actor/UrudcqJF4Ic",
"url": "http://pasture_one_actor/actor/UrudcqJF4Ic",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 88,
"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>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-03-04T16:27:50.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 4¶
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/FREDQp4lh2c",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/kCVbriSmrFk",
"published": "2024-03-04T16:27:53Z",
"content": "text",
"contentMap": {
"en": "English",
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9qgpyfc8bg0k003c",
"uri": "http://pasture_one_actor/actor/kCVbriSmrFk",
"url": "http://pasture_one_actor/actor/kCVbriSmrFk",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 89,
"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>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-03-04T16:27:53.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 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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/WnvWx_bfOI0",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/2S1ejmCmXGs",
"published": "2024-03-04T16:27:55Z",
"content": "text",
"contentMap": {
"de": "Deutsch",
"en": "English"
}
}
}
sharkey
{
"id": "9qgpygvsbg0k003d",
"uri": "http://pasture_one_actor/actor/2S1ejmCmXGs",
"url": "http://pasture_one_actor/actor/2S1ejmCmXGs",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 90,
"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>text</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "text",
"created_at": "2024-03-04T16:27:55.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 6¶
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/s3rMF4Z6C4I",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/SkouFrimcNQ",
"published": "2024-03-04T16:27:57Z",
"contentMap": {
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9qgpyifcbg0k003e",
"uri": "http://pasture_one_actor/actor/SkouFrimcNQ",
"url": "http://pasture_one_actor/actor/SkouFrimcNQ",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 91,
"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": "",
"content_type": "text/x.misskeymarkdown",
"text": null,
"created_at": "2024-03-04T16:27:57.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 7¶
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/ipEX4tPtO8s",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/tdCGY-LY2EE",
"published": "2024-03-04T16:27:59Z",
"contentMap": {
"en": "English"
}
}
}
sharkey
{
"id": "9qgpyjywbg0k003f",
"uri": "http://pasture_one_actor/actor/tdCGY-LY2EE",
"url": "http://pasture_one_actor/actor/tdCGY-LY2EE",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 92,
"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": "",
"content_type": "text/x.misskeymarkdown",
"text": null,
"created_at": "2024-03-04T16:27:59.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 8¶
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/rAFYP5mLQkY",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/sfZVNS9mT7A",
"published": "2024-03-04T16:28:01Z",
"contentMap": {
"en": "English",
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9qgpyligbg0k003g",
"uri": "http://pasture_one_actor/actor/sfZVNS9mT7A",
"url": "http://pasture_one_actor/actor/sfZVNS9mT7A",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 93,
"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": "",
"content_type": "text/x.misskeymarkdown",
"text": null,
"created_at": "2024-03-04T16:28:01.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 9¶
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://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/wyA9rxccQIE",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9qgprq5jcxrh0001"
],
"id": "http://pasture_one_actor/actor/oSua6OIc8bQ",
"published": "2024-03-04T16:28:03Z",
"contentMap": {
"de": "Deutsch",
"en": "English"
}
}
}
sharkey
{
"id": "9qgpyn20bg0k003h",
"uri": "http://pasture_one_actor/actor/oSua6OIc8bQ",
"url": "http://pasture_one_actor/actor/oSua6OIc8bQ",
"account": {
"id": "9qgpt8hxbg0k0003",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-03-04T16:23:50.853Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 94,
"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": "",
"content_type": "text/x.misskeymarkdown",
"text": null,
"created_at": "2024-03-04T16:28:03.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
}