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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/LrbM2PEiuwM",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/v5EBiurArcQ",
    "published": "2024-02-28T16:38:41Z",
    "content": "text",
    "sensitive": true
  }
}
```


```json title="mastodon"
{
  "id": "112010089063761814",
  "created_at": "2024-02-28T16:38:41.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": true,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/v5EBiurArcQ",
  "url": "http://pasture_one_actor/actor/v5EBiurArcQ",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "text",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 13,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": 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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/9Iu8N2D3ffc",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/tO27fmbhYIs",
    "published": "2024-02-28T16:38:44Z",
    "content": "text",
    "summary": "summary"
  }
}
```


```json title="mastodon"
{
  "id": "112010089217423580",
  "created_at": "2024-02-28T16:38:44.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "summary",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/tO27fmbhYIs",
  "url": "http://pasture_one_actor/actor/tO27fmbhYIs",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "text",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 14,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": 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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/kanUiu0kO3s",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/CZcR40pfWDw",
    "published": "2024-02-28T16:38:46Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true
  }
}
```


```json title="mastodon"
{
  "id": "112010089363981073",
  "created_at": "2024-02-28T16:38:46.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": true,
  "spoiler_text": "summary",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/CZcR40pfWDw",
  "url": "http://pasture_one_actor/actor/CZcR40pfWDw",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "text",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 15,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": 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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/gpJqHcSeeW8",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/3CMucXN6zJQ",
    "published": "2024-02-28T16:38:48Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112010089514420371",
  "created_at": "2024-02-28T16:38:48.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/3CMucXN6zJQ",
  "url": "http://pasture_one_actor/actor/3CMucXN6zJQ",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "see image",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 16,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112010089512454943",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112010089512454943/original",
      "preview_url": "http://mastodon/media_proxy/112010089512454943/small",
      "remote_url": "http://pasture_one_actor/assets/nlnet.jpg",
      "preview_remote_url": null,
      "text_url": null,
      "meta": null,
      "description": null,
      "blurhash": null
    }
  ],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null
}
```

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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/VhkUl_mQz1w",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/vkbGxWoCn-Y",
    "published": "2024-02-28T16:38:50Z",
    "content": "see image",
    "sensitive": true,
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112010089660534531",
  "created_at": "2024-02-28T16:38:50.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": true,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/vkbGxWoCn-Y",
  "url": "http://pasture_one_actor/actor/vkbGxWoCn-Y",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "see image",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 17,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112010089659360955",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112010089659360955/original",
      "preview_url": "http://mastodon/media_proxy/112010089659360955/small",
      "remote_url": "http://pasture_one_actor/assets/nlnet.jpg",
      "preview_remote_url": null,
      "text_url": null,
      "meta": null,
      "description": null,
      "blurhash": null
    }
  ],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null
}
```

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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/WMQovn8u014",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/Wcy54gaKWP0",
    "published": "2024-02-28T16:38:53Z",
    "content": "see image",
    "attachment": {
      "content": "content",
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112010089812584645",
  "created_at": "2024-02-28T16:38:53.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/Wcy54gaKWP0",
  "url": "http://pasture_one_actor/actor/Wcy54gaKWP0",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "see image",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 18,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112010089811249586",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112010089811249586/original",
      "preview_url": "http://mastodon/media_proxy/112010089811249586/small",
      "remote_url": "http://pasture_one_actor/assets/nlnet.jpg",
      "preview_remote_url": null,
      "text_url": null,
      "meta": null,
      "description": null,
      "blurhash": null
    }
  ],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null
}
```

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": [
    "http://mastodon/users/hippo",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/lQm9FRyTj2s",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture_one_actor/actor/0XEDGatsUSg",
    "published": "2024-02-28T16:38:55Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "summary": "summary",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112010089960193286",
  "created_at": "2024-02-28T16:38:55.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture_one_actor/actor/0XEDGatsUSg",
  "url": "http://pasture_one_actor/actor/0XEDGatsUSg",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "see image",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "112010087285689919",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-02-28T00:00:00.000Z",
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "http://mastodon/avatars/original/missing.png",
    "avatar_static": "http://mastodon/avatars/original/missing.png",
    "header": "http://mastodon/headers/original/missing.png",
    "header_static": "http://mastodon/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 19,
    "last_status_at": "2024-02-28",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112010089958937667",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112010089958937667/original",
      "preview_url": "http://mastodon/media_proxy/112010089958937667/small",
      "remote_url": "http://pasture_one_actor/assets/nlnet.jpg",
      "preview_remote_url": null,
      "text_url": null,
      "meta": null,
      "description": "summary",
      "blurhash": null
    }
  ],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null
}
```