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/object/feEZoajj9aQ",
  "published": "2025-08-15T08:43:29Z",
  "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/object/X7xCnY0m5nY",
  "published": "2025-08-15T08:43:29Z",
  "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/object/DllRzLTa95w",
  "published": "2025-08-15T08:43:29Z",
  "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/object/rw_OWAtckoE",
  "published": "2025-08-15T08:43:29Z",
  "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/object/EFDKndYqIqQ",
  "published": "2025-08-15T08:43:29Z",
  "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/object/PU0bzOMfrI4",
  "published": "2025-08-15T08:43:29Z",
  "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/object/D-CIoNf5224",
  "published": "2025-08-15T08:43:29Z",
  "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/activity/ste7U3PUT8M",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/M6Erhl2ZYs8",
    "published": "2025-08-15T08:43:29Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "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/activity/u7yC9VSO6LE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/WGMb7n8ooCo",
    "published": "2025-08-15T08:43:29Z",
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "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/activity/gJdlUb0d2jc",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/JLgShGolOwc",
    "published": "2025-08-15T08:43:29Z",
    "sensitive": true,
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "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/activity/AeWEqjoL9m0",
  "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/object/148AjA8eYJg",
    "published": "2025-08-15T08:43:29Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "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/activity/Go3RivwzIRU",
  "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/object/AEMlct2zvcw",
    "published": "2025-08-15T08:43:29Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "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/activity/Bde8kJ725b0",
  "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/object/1EFVk6JUhOo",
    "published": "2025-08-15T08:43:29Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "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/activity/brnCI0vvniM",
  "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/object/DSz-AtRJP0A",
    "published": "2025-08-15T08:43:29Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-08-15T08:43:29Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}