Skip to content

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

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/1MUT1Kiwb1U",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/1aUCkurjIDs",
    "published": "2024-03-06T17:54:52Z",
    "content": "text",
    "sensitive": true
  }
}
```


```json title="sharkey"
{
  "id": "9qjnxzogpbvn000i",
  "uri": "http://pasture_one_actor/actor/1aUCkurjIDs",
  "url": "http://pasture_one_actor/actor/1aUCkurjIDs",
  "account": {
    "id": "9qjnxfoapbvn0002",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "fqn": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-03-06T17:54:26.074Z",
    "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-03-06T17:54:52.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

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/Rxp8ai3T6l4",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/fQfbcw2pZVw",
    "published": "2024-03-06T17:54:54Z",
    "content": "text",
    "summary": "summary"
  }
}
```


```json title="sharkey"
{
  "id": "9qjny180pbvn000j",
  "uri": "http://pasture_one_actor/actor/fQfbcw2pZVw",
  "url": "http://pasture_one_actor/actor/fQfbcw2pZVw",
  "account": {
    "id": "9qjnxfoapbvn0002",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "fqn": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-03-06T17:54:26.074Z",
    "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-03-06T17:54:54.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

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/2mlmHka7G0c",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/BOckcJUTtME",
    "published": "2024-03-06T17:54:56Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true
  }
}
```


```json title="sharkey"
{
  "id": "9qjny2rkpbvn000k",
  "uri": "http://pasture_one_actor/actor/BOckcJUTtME",
  "url": "http://pasture_one_actor/actor/BOckcJUTtME",
  "account": {
    "id": "9qjnxfoapbvn0002",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "fqn": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-03-06T17:54:26.074Z",
    "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-03-06T17:54:56.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

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/g9qeUpVZveI",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/mbcqZsoIhzU",
    "published": "2024-03-06T17:54:58Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


no result

Example 5

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/Eic7gx8gBok",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/TYg65yVKMkQ",
    "published": "2024-03-06T17:55:00Z",
    "content": "see image",
    "sensitive": true,
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


no result

Example 6

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/lhFwLscd1IM",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/pSsGJriQFGQ",
    "published": "2024-03-06T17:55:03Z",
    "content": "see image",
    "attachment": {
      "content": "content",
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


no result

Example 7

```json title="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/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/So9oZppdWzs",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/p0i0WuxwpMg",
    "published": "2024-03-06T17:55:05Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "summary": "summary",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


no result