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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/I8IZivzDDW0",
"published": "2024-12-04T18:33:59Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/zqBTu3StOCI",
"published": "2024-12-04T18:33:59Z",
"content": "text",
"sensitive": true
}
}
mitra
{
"id": "019392f3-54d8-08b5-bc7b-7b1fdd0410fa",
"uri": "http://pasture-one-actor/actor/zqBTu3StOCI",
"url": "http://pasture-one-actor/actor/zqBTu3StOCI",
"created_at": "2024-12-04T18:33:59Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 13,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "text",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": true,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}
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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/j5E_OrPfT8A",
"published": "2024-12-04T18:34:01Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/RdD38xhFJ3s",
"published": "2024-12-04T18:34:01Z",
"content": "text",
"summary": "summary"
}
}
mitra
{
"id": "019392f3-5aac-fa7e-e280-d19ef141e4f6",
"uri": "http://pasture-one-actor/actor/RdD38xhFJ3s",
"url": "http://pasture-one-actor/actor/RdD38xhFJ3s",
"created_at": "2024-12-04T18:34:01Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 14,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "<h1>summary</h1>text",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}
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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/lPrIEYZ4ns0",
"published": "2024-12-04T18:34:02Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/v8PaOMRzOes",
"published": "2024-12-04T18:34:02Z",
"content": "text",
"summary": "summary",
"sensitive": true
}
}
mitra
{
"id": "019392f3-6087-5b26-0c17-8d4bed98f421",
"uri": "http://pasture-one-actor/actor/v8PaOMRzOes",
"url": "http://pasture-one-actor/actor/v8PaOMRzOes",
"created_at": "2024-12-04T18:34:02Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 15,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "<h1>summary</h1>text",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": true,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}
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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/v5u8S9PoDtQ",
"published": "2024-12-04T18:34:04Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/da3lEqib4g0",
"published": "2024-12-04T18:34:04Z",
"content": "see image",
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w001.png"
}
}
}
mitra
{
"id": "019392f3-668e-6772-d56e-bf7aa1b91084",
"uri": "http://pasture-one-actor/actor/da3lEqib4g0",
"url": "http://pasture-one-actor/actor/da3lEqib4g0",
"created_at": "2024-12-04T18:34:04Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 16,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "see image",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [
{
"id": "019392f3-6689-a115-12ff-0f6da733c67a",
"type": "image",
"url": "http://mitra/media/f58ae96a4099abb2bfd5d71ee3df22c5c8c8f0239dac445b76ede42d04195448.png",
"preview_url": "http://mitra/media/f58ae96a4099abb2bfd5d71ee3df22c5c8c8f0239dac445b76ede42d04195448.png",
"description": null
}
],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}
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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/V9jkMWhF_mw",
"published": "2024-12-04T18:34:05Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/Mb-UdQ1iCCw",
"published": "2024-12-04T18:34:05Z",
"content": "see image",
"sensitive": true,
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w002.png"
}
}
}
mitra
{
"id": "019392f3-6c59-a9c6-f1ae-a71e69b5c41d",
"uri": "http://pasture-one-actor/actor/Mb-UdQ1iCCw",
"url": "http://pasture-one-actor/actor/Mb-UdQ1iCCw",
"created_at": "2024-12-04T18:34:05Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 17,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "see image",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": true,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [
{
"id": "019392f3-6c53-e5f8-e767-4f4b85328e00",
"type": "image",
"url": "http://mitra/media/b72b2a9c29357592f4d677ff4ab577fca18e0aa1384c1b2b099404f5b7090794.png",
"preview_url": "http://mitra/media/b72b2a9c29357592f4d677ff4ab577fca18e0aa1384c1b2b099404f5b7090794.png",
"description": null
}
],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}
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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/86d4RKpPKGM",
"published": "2024-12-04T18:34:07Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/KwKs1wdT81s",
"published": "2024-12-04T18:34:07Z",
"content": "see image",
"attachment": {
"content": "content",
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w003.png"
}
}
}
mitra
{
"id": "019392f3-7234-32bf-bfb6-0e51706721e1",
"uri": "http://pasture-one-actor/actor/KwKs1wdT81s",
"url": "http://pasture-one-actor/actor/KwKs1wdT81s",
"created_at": "2024-12-04T18:34:07Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 18,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "see image",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [
{
"id": "019392f3-722c-2e75-9a8b-8d728df96744",
"type": "image",
"url": "http://mitra/media/badfafe796c4fbacfc5c2068fc60b3b5667876081f4cadb9f567b9bbd8888ec8.png",
"preview_url": "http://mitra/media/badfafe796c4fbacfc5c2068fc60b3b5667876081f4cadb9f567b9bbd8888ec8.png",
"description": null
}
],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}
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://mitra/users/admin",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/FKqCOkigb0w",
"published": "2024-12-04T18:34:08Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mitra/users/admin"
],
"id": "http://pasture-one-actor/actor/wOv__ga-y-4",
"published": "2024-12-04T18:34:08Z",
"content": "see image",
"attachment": {
"type": "Image",
"summary": "summary",
"sensitive": true,
"url": "http://pasture-one-actor/images/w004.png"
}
}
}
mitra
{
"id": "019392f3-7808-a677-d0ce-3566ee53025b",
"uri": "http://pasture-one-actor/actor/wOv__ga-y-4",
"url": "http://pasture-one-actor/actor/wOv__ga-y-4",
"created_at": "2024-12-04T18:34:08Z",
"edited_at": null,
"account": {
"id": "019392f3-08a5-e6d9-619c-16f4176b94bf",
"username": "actor",
"acct": "actor@pasture-one-actor",
"actor_id": "http://pasture-one-actor/actor",
"url": "http://pasture-one-actor/actor",
"display_name": "Test Actor",
"created_at": "2024-12-04T18:33:41.285211Z",
"note": "",
"avatar": "http://mitra/api/v1/accounts/identicon?input=http://pasture-one-actor/actor",
"header": "http://mitra/api/v1/accounts/identicon",
"locked": false,
"mention_policy": "none",
"bot": false,
"identity_proofs": [],
"payment_options": [],
"fields": [],
"emojis": [],
"followers_count": 0,
"following_count": 0,
"subscribers_count": 0,
"statuses_count": 19,
"source": null,
"role": null,
"authentication_methods": null,
"client_config": null
},
"content": "see image",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"reblog": null,
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"pinned": false,
"replies_count": 0,
"favourites_count": 0,
"reblogs_count": 0,
"media_attachments": [
{
"id": "019392f3-7803-956f-56ad-35ff3fa46fde",
"type": "image",
"url": "http://mitra/media/4023deaf74ce15898147933ce9d43cded2ef07d43cbdc12f513f6f2b3db56836.png",
"preview_url": "http://mitra/media/4023deaf74ce15898147933ce9d43cded2ef07d43cbdc12f513f6f2b3db56836.png",
"description": null
}
],
"mentions": [
{
"id": "019392f1-ff94-4793-4b67-935bcebe62ff",
"username": "admin",
"acct": "admin",
"url": "http://mitra/users/admin"
}
],
"tags": [],
"emojis": [],
"favourited": false,
"reblogged": false,
"bookmarked": false,
"pleroma": {
"emoji_reactions": [],
"in_reply_to_account_acct": null,
"parent_visible": true,
"quote": null,
"quote_visible": false
},
"ipfs_cid": null,
"links": []
}