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/iERR_YevJp4",
  "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/7EJFeWhNm9U",
    "published": "2024-03-06T18:14:46Z",
    "content": "text",
    "sensitive": true
  }
}
```


```json title="mitra"
{
  "id": "018e14f9-bb5c-83e2-bf9c-8b6393fab001",
  "uri": "http://pasture_one_actor/actor/7EJFeWhNm9U",
  "url": null,
  "created_at": "2024-03-06T18:14:46Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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/NcTWBb19YDw",
  "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/F7-9aZD0D_A",
    "published": "2024-03-06T18:15:07Z",
    "content": "text",
    "summary": "summary"
  }
}
```


```json title="mitra"
{
  "id": "018e14fa-097e-340b-001b-adc846c0bfab",
  "uri": "http://pasture_one_actor/actor/F7-9aZD0D_A",
  "url": null,
  "created_at": "2024-03-06T18:15:07Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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/rlZqrQTN830",
  "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/v2PxvypNB7I",
    "published": "2024-03-06T18:15:27Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true
  }
}
```


```json title="mitra"
{
  "id": "018e14fa-579d-3a39-4621-e952712a9981",
  "uri": "http://pasture_one_actor/actor/v2PxvypNB7I",
  "url": null,
  "created_at": "2024-03-06T18:15:27Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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/r3Vf2w9g-0g",
  "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/C-c1MXxvoEU",
    "published": "2024-03-06T18:15:47Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mitra"
{
  "id": "018e14fa-a5d8-7b38-6aab-d8d9f360adb7",
  "uri": "http://pasture_one_actor/actor/C-c1MXxvoEU",
  "url": null,
  "created_at": "2024-03-06T18:15:47Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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/yESQzPIQf6s",
  "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/MB8WLfIxaQY",
    "published": "2024-03-06T18:16:07Z",
    "content": "see image",
    "sensitive": true,
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mitra"
{
  "id": "018e14fa-f3fd-e5ac-6149-adfffa5b507a",
  "uri": "http://pasture_one_actor/actor/MB8WLfIxaQY",
  "url": null,
  "created_at": "2024-03-06T18:16:07Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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/dLLLEXSOHso",
  "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/zKhptDFsviw",
    "published": "2024-03-06T18:16:27Z",
    "content": "see image",
    "attachment": {
      "content": "content",
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mitra"
{
  "id": "018e14fb-421a-2a7f-e4c5-e3166769dd32",
  "uri": "http://pasture_one_actor/actor/zKhptDFsviw",
  "url": null,
  "created_at": "2024-03-06T18:16:27Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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/0BHC_x78VlM",
  "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/EganJ9jrxxM",
    "published": "2024-03-06T18:16:47Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "summary": "summary",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="mitra"
{
  "id": "018e14fb-9026-8643-e7f4-ffa97f2b13f3",
  "uri": "http://pasture_one_actor/actor/EganJ9jrxxM",
  "url": null,
  "created_at": "2024-03-06T18:16:47Z",
  "edited_at": null,
  "account": {
    "id": "018e14f5-f041-23ce-02af-d040b908c232",
    "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-03-06T18:10:45.953735Z",
    "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": "018e14f4-d873-ad2f-57db-aa3652520cfb",
      "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": []
}
```