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/VXP8L7QXpk4",
  "published": "2025-03-07T11:42:22Z",
  "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/D7tZ9uHsUEc",
  "published": "2025-03-07T11:42:22Z",
  "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/_UFF4F-dtTU",
  "published": "2025-03-07T11:42:22Z",
  "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/1XoRyWxVj3o",
  "published": "2025-03-07T11:42:22Z",
  "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/mPyO9KuWtj8",
  "published": "2025-03-07T11:42:22Z",
  "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/qGmDRzryxsI",
  "published": "2025-03-07T11:42:22Z",
  "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/1byKWsC2qfU",
  "published": "2025-03-07T11:42:22Z",
  "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/OXs6Mrrnsps",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/foPAKvNySdk",
    "published": "2025-03-07T11:42:22Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/DQAW2NCKTOs",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/0bfVipCCiow",
    "published": "2025-03-07T11:42:22Z",
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/ciCc0Wedx5o",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/Nb0hHnFV8eA",
    "published": "2025-03-07T11:42:22Z",
    "sensitive": true,
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/i-J5fYudWus",
  "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/LQ4nGHh-D-g",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/akMmaqQM6Dc",
  "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/l9-v7U3FVAI",
    "published": "2025-03-07T11:42:22Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/xRdYgPDFZ9c",
  "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/axeeQuwljU8",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/iGunsVBWreI",
  "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/gSa1mSrUvAM",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "type": "Create"
}