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.

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/h2yIc0sD52Y",
  "published": "2025-01-13T19:51:01Z",
  "sensitive": true,
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/b_eI8N3p7pE",
  "published": "2025-01-13T19:51:01Z",
  "summary": "summary",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/Y1imAghbeq4",
  "published": "2025-01-13T19:51:01Z",
  "sensitive": true,
  "summary": "summary",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "sensitive": true,
    "type": "Image",
    "url": "http://pasture-one-actor/images/w001.png"
  },
  "attributedTo": "http://actor.example",
  "content": "see image",
  "id": "http://actor.example/w8uHUvcp1UU",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "sensitive": true,
    "type": "Image",
    "url": "http://pasture-one-actor/images/w002.png"
  },
  "attributedTo": "http://actor.example",
  "content": "see image",
  "id": "http://actor.example/40tS2i7Wodk",
  "published": "2025-01-13T19:51:01Z",
  "sensitive": true,
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "content": "content",
    "sensitive": true,
    "type": "Image",
    "url": "http://pasture-one-actor/images/w003.png"
  },
  "attributedTo": "http://actor.example",
  "content": "see image",
  "id": "http://actor.example/H_Unf3YrI-M",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "sensitive": true,
    "summary": "summary",
    "type": "Image",
    "url": "http://pasture-one-actor/images/w004.png"
  },
  "attributedTo": "http://actor.example",
  "content": "see image",
  "id": "http://actor.example/c2D5bgGTNFI",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/JOfM_bP2BT4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/4n2KoEGWmNM",
    "published": "2025-01-13T19:51:01Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/g-xfU8KO1lo",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/7vRa_deeaK8",
    "published": "2025-01-13T19:51:01Z",
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/y5W8nj80sNY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/qzPcogihtLk",
    "published": "2025-01-13T19:51:01Z",
    "sensitive": true,
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/0wqjVJVQYUI",
  "object": {
    "attachment": {
      "sensitive": true,
      "type": "Image",
      "url": "http://pasture-one-actor/images/w001.png"
    },
    "attributedTo": "http://actor.example",
    "content": "see image",
    "id": "http://actor.example/UuKH7vj_Qbw",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/dR-XIZ45_JU",
  "object": {
    "attachment": {
      "sensitive": true,
      "type": "Image",
      "url": "http://pasture-one-actor/images/w002.png"
    },
    "attributedTo": "http://actor.example",
    "content": "see image",
    "id": "http://actor.example/0tIR1jPfQ_k",
    "published": "2025-01-13T19:51:01Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/eCkmQpx04kM",
  "object": {
    "attachment": {
      "content": "content",
      "sensitive": true,
      "type": "Image",
      "url": "http://pasture-one-actor/images/w003.png"
    },
    "attributedTo": "http://actor.example",
    "content": "see image",
    "id": "http://actor.example/UsQhqBl8ug4",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/hfTgIfDkyBo",
  "object": {
    "attachment": {
      "sensitive": true,
      "summary": "summary",
      "type": "Image",
      "url": "http://pasture-one-actor/images/w004.png"
    },
    "attributedTo": "http://actor.example",
    "content": "see image",
    "id": "http://actor.example/FrUF1IQ_bhw",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}