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/ZN37ZPrRR6s",
  "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/VZGLMgu5cxE",
    "published": "2024-03-01T11:50:37Z",
    "content": "text",
    "sensitive": true
  }
}
```


```json title="mastodon"
{
  "id": "112020280957341969",
  "created_at": "2024-03-01T11:50:37.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/VZGLMgu5cxE",
  "url": "http://pasture_one_actor/actor/VZGLMgu5cxE",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "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/2q9NU5yJTLo",
  "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/xt7eIpFO7DU",
    "published": "2024-03-01T11:50:40Z",
    "content": "text",
    "summary": "summary"
  }
}
```


```json title="mastodon"
{
  "id": "112020281111295749",
  "created_at": "2024-03-01T11:50:40.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/xt7eIpFO7DU",
  "url": "http://pasture_one_actor/actor/xt7eIpFO7DU",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "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/FpfaXZqqSRI",
  "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/22KgDv0U6ro",
    "published": "2024-03-01T11:50:42Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true
  }
}
```


```json title="mastodon"
{
  "id": "112020281269099410",
  "created_at": "2024-03-01T11:50:42.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/22KgDv0U6ro",
  "url": "http://pasture_one_actor/actor/22KgDv0U6ro",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "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/EKbRKmnM33k",
  "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/qH2-VD86KNA",
    "published": "2024-03-01T11:50:44Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112020281429759163",
  "created_at": "2024-03-01T11:50:44.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/qH2-VD86KNA",
  "url": "http://pasture_one_actor/actor/qH2-VD86KNA",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112020281428201073",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112020281428201073/original",
      "preview_url": "http://mastodon/media_proxy/112020281428201073/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/S76vOFazE3I",
  "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/CegRHNto4oc",
    "published": "2024-03-01T11:50:47Z",
    "content": "see image",
    "sensitive": true,
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112020281602099512",
  "created_at": "2024-03-01T11:50:47.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/CegRHNto4oc",
  "url": "http://pasture_one_actor/actor/CegRHNto4oc",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112020281600797904",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112020281600797904/original",
      "preview_url": "http://mastodon/media_proxy/112020281600797904/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/0l5zkpyDcfM",
  "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/SkxuXO9VWPg",
    "published": "2024-03-01T11:50:49Z",
    "content": "see image",
    "attachment": {
      "content": "content",
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112020281760741446",
  "created_at": "2024-03-01T11:50:49.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/SkxuXO9VWPg",
  "url": "http://pasture_one_actor/actor/SkxuXO9VWPg",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112020281759355051",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112020281759355051/original",
      "preview_url": "http://mastodon/media_proxy/112020281759355051/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/s0SUUVPkypo",
  "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/CmdRJ-zR6Z4",
    "published": "2024-03-01T11:50:52Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "summary": "summary",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mastodon"
{
  "id": "112020281920023110",
  "created_at": "2024-03-01T11:50:52.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/CmdRJ-zR6Z4",
  "url": "http://pasture_one_actor/actor/CmdRJ-zR6Z4",
  "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": "112020279142740277",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "group": false,
    "created_at": "2024-03-01T00:00:00.000Z",
    "note": "",
    "url": "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-03-01",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [
    {
      "id": "112020281918768549",
      "type": "unknown",
      "url": "http://mastodon/media_proxy/112020281918768549/original",
      "preview_url": "http://mastodon/media_proxy/112020281918768549/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
}
```