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://mitra/users/admin",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/0r0zt5Xq9fU",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture_one_actor/actor/GgAK7Csywxw",
    "published": "2024-02-28T16:53:36Z",
    "content": "text",
    "sensitive": true
  }
}
```


```json title="mitra"
{
  "id": "018df0a2-e77d-4254-1bae-0a3bea2217c4",
  "uri": "http://pasture_one_actor/actor/GgAK7Csywxw",
  "url": null,
  "created_at": "2024-02-28T16:53:36Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 13,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "text",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": true,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```

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://mitra/users/admin",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/VLYrcH1WTew",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture_one_actor/actor/bahVGYqqVHU",
    "published": "2024-02-28T16:53:56Z",
    "content": "text",
    "summary": "summary"
  }
}
```


```json title="mitra"
{
  "id": "018df0a3-2214-bfaa-faa2-c97ad6fb4479",
  "uri": "http://pasture_one_actor/actor/bahVGYqqVHU",
  "url": null,
  "created_at": "2024-02-28T16:53:56Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 14,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "<h1>summary</h1>text",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```

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://mitra/users/admin",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/BHPID7t5PKg",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture_one_actor/actor/D7jn9W6R02s",
    "published": "2024-02-28T16:54:16Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true
  }
}
```


```json title="mitra"
{
  "id": "018df0a3-7032-eef9-a042-b8784ec51a2f",
  "uri": "http://pasture_one_actor/actor/D7jn9W6R02s",
  "url": null,
  "created_at": "2024-02-28T16:54:16Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 15,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "<h1>summary</h1>text",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": true,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```

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://mitra/users/admin",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/Exc2HfZaYL4",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture_one_actor/actor/tOYMRTP8-9g",
    "published": "2024-02-28T16:54:36Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mitra"
{
  "id": "018df0a3-be5e-ae3e-bbf2-b64272025d58",
  "uri": "http://pasture_one_actor/actor/tOYMRTP8-9g",
  "url": null,
  "created_at": "2024-02-28T16:54:36Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 16,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "see image<p><a href=\"http://pasture_one_actor/assets/nlnet.jpg\" rel=\"noopener\">http://pasture_one_actor/assets/nlnet.jpg</a></p>",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```

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


```json title="mitra"
{
  "id": "018df0a4-0c7f-38f4-f800-b0bdd5cdc44e",
  "uri": "http://pasture_one_actor/actor/EI14pPqQKLI",
  "url": null,
  "created_at": "2024-02-28T16:54:56Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 17,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "see image<p><a href=\"http://pasture_one_actor/assets/nlnet.jpg\" rel=\"noopener\">http://pasture_one_actor/assets/nlnet.jpg</a></p>",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": true,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```

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


```json title="mitra"
{
  "id": "018df0a4-5ab3-a5d6-d488-5c24b435db69",
  "uri": "http://pasture_one_actor/actor/Q7Zh1tuAFg0",
  "url": null,
  "created_at": "2024-02-28T16:55:16Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 18,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "see image<p><a href=\"http://pasture_one_actor/assets/nlnet.jpg\" rel=\"noopener\">http://pasture_one_actor/assets/nlnet.jpg</a></p>",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```

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


```json title="mitra"
{
  "id": "018df0a4-a8be-c677-9a89-7a75c33dcd51",
  "uri": "http://pasture_one_actor/actor/WoOcSBsTnSw",
  "url": null,
  "created_at": "2024-02-28T16:55:36Z",
  "edited_at": null,
  "account": {
    "id": "018df09f-1a24-4e01-0141-e371bf1c13a6",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "actor_id": "http://pasture_one_actor/actor",
    "url": "http://pasture_one_actor/actor",
    "display_name": "Test Actor",
    "created_at": "2024-02-28T16:49:35.268860Z",
    "note": "",
    "avatar": null,
    "header": null,
    "locked": false,
    "mention_policy": "none",
    "bot": false,
    "identity_proofs": [],
    "payment_options": [],
    "fields": [],
    "emojis": [],
    "followers_count": 0,
    "following_count": 0,
    "subscribers_count": 0,
    "statuses_count": 19,
    "source": null,
    "role": null,
    "authentication_methods": null,
    "client_config": null
  },
  "content": "see image<p><a href=\"http://pasture_one_actor/assets/nlnet.jpg\" rel=\"noopener\">http://pasture_one_actor/assets/nlnet.jpg</a></p>",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "visibility": "public",
  "sensitive": false,
  "spoiler_text": "",
  "pinned": false,
  "replies_count": 0,
  "favourites_count": 0,
  "reblogs_count": 0,
  "media_attachments": [],
  "mentions": [
    {
      "id": "018df09e-1831-5367-8e8c-52e388bac223",
      "username": "admin",
      "acct": "admin",
      "url": "http://mitra/users/admin"
    }
  ],
  "tags": [],
  "emojis": [],
  "favourited": false,
  "reblogged": false,
  "ipfs_cid": null,
  "token_id": null,
  "token_tx_id": null,
  "links": []
}
```