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/SwtD1D3N1YM",
"published": "2024-12-20T15:56:23Z",
"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/ojdqU7c9Slo",
"published": "2024-12-20T15:56:23Z",
"content": "text",
"sensitive": true
}
}
mitra
{
"id": "0193e4c8-cc51-03a0-6921-e10e9fa534e0",
"uri": "http://pasture-one-actor/actor/ojdqU7c9Slo",
"url": "http://pasture-one-actor/actor/ojdqU7c9Slo",
"created_at": "2024-12-20T15:56:23Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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/u3v6sIe4__c",
"published": "2024-12-20T15:56:25Z",
"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/d5XGCvri0lI",
"published": "2024-12-20T15:56:25Z",
"content": "text",
"summary": "summary"
}
}
mitra
{
"id": "0193e4c8-d22f-f167-789a-c08605d5b000",
"uri": "http://pasture-one-actor/actor/d5XGCvri0lI",
"url": "http://pasture-one-actor/actor/d5XGCvri0lI",
"created_at": "2024-12-20T15:56:25Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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/6P1KAmZ2csw",
"published": "2024-12-20T15:56:26Z",
"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/mKDIN119lA4",
"published": "2024-12-20T15:56:26Z",
"content": "text",
"summary": "summary",
"sensitive": true
}
}
mitra
{
"id": "0193e4c8-d809-20be-b613-a80bc6fe5f7b",
"uri": "http://pasture-one-actor/actor/mKDIN119lA4",
"url": "http://pasture-one-actor/actor/mKDIN119lA4",
"created_at": "2024-12-20T15:56:26Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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/tPl0dPXUCBU",
"published": "2024-12-20T15:56:28Z",
"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/Yi5anT3AmqM",
"published": "2024-12-20T15:56:28Z",
"content": "see image",
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w001.png"
}
}
}
mitra
{
"id": "0193e4c8-de24-9518-5489-93121e8f10af",
"uri": "http://pasture-one-actor/actor/Yi5anT3AmqM",
"url": "http://pasture-one-actor/actor/Yi5anT3AmqM",
"created_at": "2024-12-20T15:56:28Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c8-de1e-6f94-7a54-fefdfcd67047",
"type": "image",
"url": "http://mitra/media/5da715ec72a0a7fc73ccb09ab90a5c00f39b97afe4d0dfe48bf7a85cd1808d1d.png",
"preview_url": "http://mitra/media/5da715ec72a0a7fc73ccb09ab90a5c00f39b97afe4d0dfe48bf7a85cd1808d1d.png",
"description": null
}
],
"mentions": [
{
"id": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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/fG5XLxipDmk",
"published": "2024-12-20T15:56:29Z",
"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/YsHZIjuJjO0",
"published": "2024-12-20T15:56:29Z",
"content": "see image",
"sensitive": true,
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w002.png"
}
}
}
mitra
{
"id": "0193e4c8-e3cb-2cf8-288c-163e5a45da62",
"uri": "http://pasture-one-actor/actor/YsHZIjuJjO0",
"url": "http://pasture-one-actor/actor/YsHZIjuJjO0",
"created_at": "2024-12-20T15:56:29Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c8-e3c6-b95f-fb7d-53fb8741ebe1",
"type": "image",
"url": "http://mitra/media/fd10596836e57fab1a86c6d6a55ec0022a18d2b5c3ca9c61f78e393b438a25de.png",
"preview_url": "http://mitra/media/fd10596836e57fab1a86c6d6a55ec0022a18d2b5c3ca9c61f78e393b438a25de.png",
"description": null
}
],
"mentions": [
{
"id": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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/ZHYlfjzm99g",
"published": "2024-12-20T15:56:31Z",
"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/m4Vv4AM1EVA",
"published": "2024-12-20T15:56:31Z",
"content": "see image",
"attachment": {
"content": "content",
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w003.png"
}
}
}
mitra
{
"id": "0193e4c8-e9ba-af03-7d9e-1a09358c6e2b",
"uri": "http://pasture-one-actor/actor/m4Vv4AM1EVA",
"url": "http://pasture-one-actor/actor/m4Vv4AM1EVA",
"created_at": "2024-12-20T15:56:31Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c8-e9b6-e8e4-3dd4-e52cd6b952dc",
"type": "image",
"url": "http://mitra/media/7c94a24b8866c277d01a3c84e712c94b1500f2a9907ba5d54abfef4f830195df.png",
"preview_url": "http://mitra/media/7c94a24b8866c277d01a3c84e712c94b1500f2a9907ba5d54abfef4f830195df.png",
"description": null
}
],
"mentions": [
{
"id": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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/gRKhT3x6lRs",
"published": "2024-12-20T15:56:32Z",
"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/6QGxgbIc6ig",
"published": "2024-12-20T15:56:32Z",
"content": "see image",
"attachment": {
"type": "Image",
"summary": "summary",
"sensitive": true,
"url": "http://pasture-one-actor/images/w004.png"
}
}
}
mitra
{
"id": "0193e4c8-ef92-136d-3374-007492e4b533",
"uri": "http://pasture-one-actor/actor/6QGxgbIc6ig",
"url": "http://pasture-one-actor/actor/6QGxgbIc6ig",
"created_at": "2024-12-20T15:56:32Z",
"edited_at": null,
"account": {
"id": "0193e4c8-81e6-193c-4e9f-258ca4c0640f",
"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-20T15:56:05.990304Z",
"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": "0193e4c8-ef8d-eab9-86a7-479b29aa6925",
"type": "image",
"url": "http://mitra/media/1d980536b50396df06bdbfc933eff21ca496bcee06f979f8c6725038e3b32aef.png",
"preview_url": "http://mitra/media/1d980536b50396df06bdbfc933eff21ca496bcee06f979f8c6725038e3b32aef.png",
"description": null
}
],
"mentions": [
{
"id": "0193e4c7-6b1b-d817-a34a-c3a799e41232",
"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": []
}