Content Warnings¶
Content Warnings are set using sensitive, then summary seems to be used as a spoiler text.
The last three examples are an attempt to add a content warning to an image.
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/mjHF9kZIy4E",
"published": "2025-09-08T17:27:33Z",
"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/Sq3YAI88iRY",
"published": "2025-09-08T17:27:33Z",
"content": "text",
"sensitive": true,
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 44,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": true,
"sticky": false,
"published": "2025-09-08T17:27:33.401613Z",
"ap_id": "http://pasture-one-actor/object/Sq3YAI88iRY",
"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": [
"http://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/OZmbBxhPGq4",
"published": "2025-09-08T17:27:33Z",
"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/qcfCOmgXgx4",
"published": "2025-09-08T17:27:33Z",
"content": "text",
"summary": "summary",
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 45,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:27:34.179992Z",
"ap_id": "http://pasture-one-actor/object/qcfCOmgXgx4",
"local": false,
"language_id": 2,
"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": [
"http://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/WXWJZ4kM80c",
"published": "2025-09-08T17:27: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/gc5hILH9Cpc",
"published": "2025-09-08T17:27:34Z",
"content": "text",
"summary": "summary",
"sensitive": true,
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 46,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": true,
"sticky": false,
"published": "2025-09-08T17:27:34.970606Z",
"ap_id": "http://pasture-one-actor/object/gc5hILH9Cpc",
"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": [
"http://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/XNI8kdfToKY",
"published": "2025-09-08T17:27:35Z",
"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/z02phiefW0o",
"published": "2025-09-08T17:27:35Z",
"content": "see image",
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w001.png"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 47,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:27:35.758908Z",
"ap_id": "http://pasture-one-actor/object/z02phiefW0o",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "see image",
"url": "http://pasture-one-actor/images/w001.png",
"thumbnail_url": "http://pasture-one-actor/images/w001.png",
"small_thumbnail_url": "http://pasture-one-actor/images/w001.png"
}
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/RqIWJO4iEH8",
"published": "2025-09-08T17:27:36Z",
"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/zxcKXA9imog",
"published": "2025-09-08T17:27:36Z",
"content": "see image",
"sensitive": true,
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w002.png"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 48,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": true,
"sticky": false,
"published": "2025-09-08T17:27:36.587934Z",
"ap_id": "http://pasture-one-actor/object/zxcKXA9imog",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "see image",
"url": "http://pasture-one-actor/images/w002.png",
"thumbnail_url": "http://pasture-one-actor/images/w002.png",
"small_thumbnail_url": "http://pasture-one-actor/images/w002.png"
}
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": [
"http://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/LzDvpMCS64M",
"published": "2025-09-08T17:27:37Z",
"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/qPUTbDN_taI",
"published": "2025-09-08T17:27:37Z",
"content": "see image",
"attachment": {
"content": "content",
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w003.png"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 49,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:27:37.365511Z",
"ap_id": "http://pasture-one-actor/object/qPUTbDN_taI",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "see image",
"url": "http://pasture-one-actor/images/w003.png",
"thumbnail_url": "http://pasture-one-actor/images/w003.png",
"small_thumbnail_url": "http://pasture-one-actor/images/w003.png"
}
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": [
"http://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/lpNrbtynvjU",
"published": "2025-09-08T17:27:37Z",
"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/2gLecKA0kas",
"published": "2025-09-08T17:27:37Z",
"content": "see image",
"attachment": {
"type": "Image",
"summary": "summary",
"sensitive": true,
"url": "http://pasture-one-actor/images/w004.png"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 50,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:27:38.134712Z",
"ap_id": "http://pasture-one-actor/object/2gLecKA0kas",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "see image",
"url": "http://pasture-one-actor/images/w004.png",
"thumbnail_url": "http://pasture-one-actor/images/w004.png",
"small_thumbnail_url": "http://pasture-one-actor/images/w004.png"
}