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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/CvByQ6GM7dY",
"published": "2025-09-09T12:35:04Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/kxGQUlj8EIg",
"published": "2025-09-09T12:35:04Z",
"content": "text",
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 249,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:35:04.942783Z",
"ap_id": "http://pasture-one-actor/object/kxGQUlj8EIg",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "text"
}
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/T3QrxQury8s",
"published": "2025-09-09T12:35:05Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/n0OM4nOWenA",
"published": "2025-09-09T12:35:05Z",
"content": "text",
"contentMap": {
"de": "Deutsch"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 250,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:35:05.773995Z",
"ap_id": "http://pasture-one-actor/object/n0OM4nOWenA",
"local": false,
"language_id": 3,
"removed": false,
"locked": false,
"body": "text"
}
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/faIPRZ22MxQ",
"published": "2025-09-09T12:35:06Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/TXJ1WWfw4W0",
"published": "2025-09-09T12:35:06Z",
"content": "text",
"contentMap": {
"en": "English"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 251,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:35:06.580433Z",
"ap_id": "http://pasture-one-actor/object/TXJ1WWfw4W0",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "text"
}
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/_EveyBkdam8",
"published": "2025-09-09T12:35:07Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/DE7j8PR19x8",
"published": "2025-09-09T12:35:07Z",
"content": "text",
"contentMap": {
"en": "English",
"de": "Deutsch"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 252,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:35:07.340673Z",
"ap_id": "http://pasture-one-actor/object/DE7j8PR19x8",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "text"
}
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/j4AVsQ8OAjc",
"published": "2025-09-09T12:35:07Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/pfU7B5SuVDU",
"published": "2025-09-09T12:35:07Z",
"content": "text",
"contentMap": {
"de": "Deutsch",
"en": "English"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 253,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-09T12:35:08.116143Z",
"ap_id": "http://pasture-one-actor/object/pfU7B5SuVDU",
"local": false,
"language_id": 3,
"removed": false,
"locked": false,
"body": "text"
}
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/UOl1Z34sJrY",
"published": "2025-09-09T12:35:08Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/0K5DaXw3QBM",
"published": "2025-09-09T12:35:08Z",
"contentMap": {
"de": "Deutsch"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/2n9ixvvw9io",
"published": "2025-09-09T12:35:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/s67NB_NWOIY",
"published": "2025-09-09T12:35:21Z",
"contentMap": {
"en": "English"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/lCxkL5ICmJc",
"published": "2025-09-09T12:35:34Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/R7EuTwlq3AY",
"published": "2025-09-09T12:35:34Z",
"contentMap": {
"en": "English",
"de": "Deutsch"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/activity/RDg6zLKZ1H0",
"published": "2025-09-09T12:35:46Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/GDPqY-5p8MM",
"published": "2025-09-09T12:35:46Z",
"contentMap": {
"de": "Deutsch",
"en": "English"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result