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://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/S7pTquxycVo",
"published": "2024-12-31T10:19:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/TKRMKYVEh0k",
"published": "2024-12-31T10:19:19Z",
"content": "text",
"sensitive": true
}
}
sharkey
{
"id": "a2fvrpegxhmj0004",
"uri": "http://pasture-one-actor/actor/TKRMKYVEh0k",
"url": "http://pasture-one-actor/actor/TKRMKYVEh0k",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 1,
"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-12-31T10:19:19.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,
"edited_at": 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": [
"http://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/DBzTHCukKAk",
"published": "2024-12-31T10:19:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/ug5E136K0H8",
"published": "2024-12-31T10:19:19Z",
"content": "text",
"summary": "summary"
}
}
sharkey
{
"id": "a2fvrpegxhmj0005",
"uri": "http://pasture-one-actor/actor/ug5E136K0H8",
"url": "http://pasture-one-actor/actor/ug5E136K0H8",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 2,
"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-12-31T10:19:19.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "summary",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": 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": [
"http://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/I4LnVl3UeVw",
"published": "2024-12-31T10:19:20Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/2fOB7qnXocs",
"published": "2024-12-31T10:19:20Z",
"content": "text",
"summary": "summary",
"sensitive": true
}
}
sharkey
{
"id": "a2fvrq68xhmj0006",
"uri": "http://pasture-one-actor/actor/2fOB7qnXocs",
"url": "http://pasture-one-actor/actor/2fOB7qnXocs",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 3,
"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-12-31T10:19:20.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": false,
"spoiler_text": "summary",
"visibility": "public",
"media_attachments": [],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": 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": [
"http://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/B14klfi48ps",
"published": "2024-12-31T10:19:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/RqqxTl3dWbY",
"published": "2024-12-31T10:19:21Z",
"content": "see image",
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w001.png"
}
}
}
sharkey
{
"id": "a2fvrqy0xhmj0008",
"uri": "http://pasture-one-actor/actor/RqqxTl3dWbY",
"url": "http://pasture-one-actor/actor/RqqxTl3dWbY",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 4,
"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>see image</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "see image",
"created_at": "2024-12-31T10:19:21.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": true,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [
{
"id": "a2fvrrdjxhmj0007",
"type": "image",
"url": "http://pasture-one-actor/images/w001.png",
"remote_url": "http://pasture-one-actor/images/w001.png",
"preview_url": "http://pasture-one-actor/images/w001.png",
"text_url": "http://pasture-one-actor/images/w001.png",
"meta": {
"width": 40,
"height": 40
},
"description": null,
"blurhash": "e3C-7$y?fQy?fQy?j[fQj[fQfQfQfQfQfQy?j[fQj[fQfQfQfQfQfQ"
}
],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": 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": [
"http://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/FD4IIm5gQ2Q",
"published": "2024-12-31T10:19:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/4lnFsML3MRA",
"published": "2024-12-31T10:19:22Z",
"content": "see image",
"sensitive": true,
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w002.png"
}
}
}
sharkey
{
"id": "a2fvrrpsxhmj000a",
"uri": "http://pasture-one-actor/actor/4lnFsML3MRA",
"url": "http://pasture-one-actor/actor/4lnFsML3MRA",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 5,
"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>see image</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "see image",
"created_at": "2024-12-31T10:19:22.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": true,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [
{
"id": "a2fvrrwfxhmj0009",
"type": "image",
"url": "http://pasture-one-actor/images/w002.png",
"remote_url": "http://pasture-one-actor/images/w002.png",
"preview_url": "http://pasture-one-actor/images/w002.png",
"text_url": "http://pasture-one-actor/images/w002.png",
"meta": {
"width": 40,
"height": 40
},
"description": null,
"blurhash": "e0A8De,@fQ,@fQ,@jtfQjtfQfQfQfQfQfQ,@jtfQjtfQfQfQfQfQfQ"
}
],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": 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": [
"http://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/3G1hjkddtJw",
"published": "2024-12-31T10:19:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/F9lYrP9oWBc",
"published": "2024-12-31T10:19:22Z",
"content": "see image",
"attachment": {
"content": "content",
"type": "Image",
"sensitive": true,
"url": "http://pasture-one-actor/images/w003.png"
}
}
}
sharkey
{
"id": "a2fvrrpsxhmj000c",
"uri": "http://pasture-one-actor/actor/F9lYrP9oWBc",
"url": "http://pasture-one-actor/actor/F9lYrP9oWBc",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 6,
"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>see image</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "see image",
"created_at": "2024-12-31T10:19:22.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": true,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [
{
"id": "a2fvrsikxhmj000b",
"type": "image",
"url": "http://pasture-one-actor/images/w003.png",
"remote_url": "http://pasture-one-actor/images/w003.png",
"preview_url": "http://pasture-one-actor/images/w003.png",
"text_url": "http://pasture-one-actor/images/w003.png",
"meta": {
"width": 40,
"height": 40
},
"description": null,
"blurhash": "e3O$tj]WfQ]WfQ]WjtfQjtfQfQfQfQfQfQ]WjtfQjtfQfQfQfQfQfQ"
}
],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": 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": [
"http://sharkey/users/a2fvn782j5y00001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Jjed1b_iVCA",
"published": "2024-12-31T10:19:23Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2fvn782j5y00001"
],
"id": "http://pasture-one-actor/actor/j_X1-aFTb1U",
"published": "2024-12-31T10:19:23Z",
"content": "see image",
"attachment": {
"type": "Image",
"summary": "summary",
"sensitive": true,
"url": "http://pasture-one-actor/images/w004.png"
}
}
}
sharkey
{
"id": "a2fvrshkxhmj000e",
"uri": "http://pasture-one-actor/actor/j_X1-aFTb1U",
"url": "http://pasture-one-actor/actor/j_X1-aFTb1U",
"account": {
"id": "a2fvos04xhmj0002",
"username": "actor",
"acct": "actor@pasture-one-actor",
"fqn": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-12-31T10:17:02.404Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 7,
"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>see image</span></p>",
"content_type": "text/x.misskeymarkdown",
"text": "see image",
"created_at": "2024-12-31T10:19:23.000Z",
"emojis": [],
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"reblogged": false,
"favourited": false,
"muted": false,
"sensitive": true,
"spoiler_text": "",
"visibility": "public",
"media_attachments": [
{
"id": "a2fvrt2pxhmj000d",
"type": "image",
"url": "http://pasture-one-actor/images/w004.png",
"remote_url": "http://pasture-one-actor/images/w004.png",
"preview_url": "http://pasture-one-actor/images/w004.png",
"text_url": "http://pasture-one-actor/images/w004.png",
"meta": {
"width": 40,
"height": 40
},
"description": null,
"blurhash": "e4RkuN}cfQ}cfQ}cj[fQj[fQfQfQfQfQfQ}cj[fQj[fQfQfQfQfQfQ"
}
],
"mentions": [],
"tags": [],
"card": null,
"poll": null,
"application": null,
"language": null,
"pinned": false,
"reactions": [],
"emoji_reactions": [],
"bookmarked": false,
"quote": null,
"edited_at": null
}