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": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/kSXJ7B_ILRU",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/AqSa1-zdqfg",
"published": "2024-02-28T20:41:26Z",
"content": "text",
"sensitive": true
}
}
sharkey
{
"id": "9q9tt8fklblu000g",
"uri": "http://pasture_one_actor/actor/AqSa1-zdqfg",
"url": "http://pasture_one_actor/actor/AqSa1-zdqfg",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 13,
"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-02-28T20:41:26.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
}
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://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/TNmHii5_Apg",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/-SOaIGZqD4o",
"published": "2024-02-28T20:41:46Z",
"content": "text",
"summary": "summary"
}
}
sharkey
{
"id": "9q9ttnv4lblu000h",
"uri": "http://pasture_one_actor/actor/-SOaIGZqD4o",
"url": "http://pasture_one_actor/actor/-SOaIGZqD4o",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 14,
"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-02-28T20:41:46.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
}
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://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/TIkg2AKBDgY",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/o2sG8ABK-_M",
"published": "2024-02-28T20:42:06Z",
"content": "text",
"summary": "summary",
"sensitive": true
}
}
sharkey
{
"id": "9q9tu3aolblu000i",
"uri": "http://pasture_one_actor/actor/o2sG8ABK-_M",
"url": "http://pasture_one_actor/actor/o2sG8ABK-_M",
"account": {
"id": "9q9to0wnlblu0002",
"username": "actor",
"acct": "actor@pasture_one_actor",
"fqn": "actor@pasture_one_actor",
"display_name": "Test Actor",
"locked": false,
"created_at": "2024-02-28T20:37:22.967Z",
"followers_count": 0,
"following_count": 0,
"statuses_count": 15,
"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-02-28T20:42:06.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
}
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://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/znx7EI28LIQ",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/VC1HJMg3Ab0",
"published": "2024-02-28T20:42:27Z",
"content": "see image",
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture_one_actor/assets/nlnet.jpg"
}
}
}
no result
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://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/bhYkgcD6qkA",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/gy5P4y_IOCg",
"published": "2024-02-28T20:42:47Z",
"content": "see image",
"sensitive": true,
"attachment": {
"type": "Image",
"sensitive": true,
"url": "http://pasture_one_actor/assets/nlnet.jpg"
}
}
}
no result
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://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/ItYSJq7QOp8",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/kJtxRiaYufQ",
"published": "2024-02-28T20:43:07Z",
"content": "see image",
"attachment": {
"content": "content",
"type": "Image",
"sensitive": true,
"url": "http://pasture_one_actor/assets/nlnet.jpg"
}
}
}
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://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/k_NsC_goMcc",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/9q9tmc4u9pr10001"
],
"id": "http://pasture_one_actor/actor/WJpwKwFvhDw",
"published": "2024-02-28T20:43:28Z",
"content": "see image",
"attachment": {
"type": "Image",
"summary": "summary",
"sensitive": true,
"url": "http://pasture_one_actor/assets/nlnet.jpg"
}
}
}
no result