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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/pVzcpwxvon8",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/LKIqCkhyR5M",
"published": "2024-02-28T21:13:59Z",
"content": "text"
}
}
sharkey
{
"id": "9q9uz3dklblu0038",
"uri": "http://pasture_one_actor/actor/LKIqCkhyR5M",
"url": "http://pasture_one_actor/actor/LKIqCkhyR5M",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:13: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 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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/fs_QvAd4LMQ",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/U96uUsJdMDE",
"published": "2024-02-28T21:14:20Z",
"content": "text",
"contentMap": {
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9q9uzjkwlblu0039",
"uri": "http://pasture_one_actor/actor/U96uUsJdMDE",
"url": "http://pasture_one_actor/actor/U96uUsJdMDE",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:14:20.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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/CUk39-mQ5es",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/TuQMJ_SM3Pg",
"published": "2024-02-28T21:14:40Z",
"content": "text",
"contentMap": {
"en": "English"
}
}
}
sharkey
{
"id": "9q9uzz0glblu003a",
"uri": "http://pasture_one_actor/actor/TuQMJ_SM3Pg",
"url": "http://pasture_one_actor/actor/TuQMJ_SM3Pg",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:14:40.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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/ljn1hztVFMo",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/4mc2MBX4occ",
"published": "2024-02-28T21:15:00Z",
"content": "text",
"contentMap": {
"en": "English",
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9q9v0eg0lblu003b",
"uri": "http://pasture_one_actor/actor/4mc2MBX4occ",
"url": "http://pasture_one_actor/actor/4mc2MBX4occ",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:15:00.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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/N2f5BnofP-M",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/LtTUktxdYhw",
"published": "2024-02-28T21:15:21Z",
"content": "text",
"contentMap": {
"de": "Deutsch",
"en": "English"
}
}
}
sharkey
{
"id": "9q9v0unclblu003c",
"uri": "http://pasture_one_actor/actor/LtTUktxdYhw",
"url": "http://pasture_one_actor/actor/LtTUktxdYhw",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:15:21.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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/z2b5jTk5hJU",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/LhuigcnogSc",
"published": "2024-02-28T21:15:41Z",
"contentMap": {
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9q9v1a2wlblu003d",
"uri": "http://pasture_one_actor/actor/LhuigcnogSc",
"url": "http://pasture_one_actor/actor/LhuigcnogSc",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:15:41.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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/j3MA8scxvGE",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/TS36K8FEyhs",
"published": "2024-02-28T21:16:01Z",
"contentMap": {
"en": "English"
}
}
}
sharkey
{
"id": "9q9v1piglblu003e",
"uri": "http://pasture_one_actor/actor/TS36K8FEyhs",
"url": "http://pasture_one_actor/actor/TS36K8FEyhs",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:16: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 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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/ngvpvBykMYk",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/AeSNfUj3Vvw",
"published": "2024-02-28T21:16:22Z",
"contentMap": {
"en": "English",
"de": "Deutsch"
}
}
}
sharkey
{
"id": "9q9v25pslblu003f",
"uri": "http://pasture_one_actor/actor/AeSNfUj3Vvw",
"url": "http://pasture_one_actor/actor/AeSNfUj3Vvw",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:16:22.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/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/OgWo45161bY",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/EDVXrTgFRSc",
"published": "2024-02-28T21:16:42Z",
"contentMap": {
"de": "Deutsch",
"en": "English"
}
}
}
sharkey
{
"id": "9q9v2l5clblu003g",
"uri": "http://pasture_one_actor/actor/EDVXrTgFRSc",
"url": "http://pasture_one_actor/actor/EDVXrTgFRSc",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"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-02-28T21:16:42.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
}