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/q_Z-rVDgg60",
  "published": "2024-11-22T15:02:51Z",
  "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/ZRipv1mGcts",
  "published": "2024-11-22T15:02:51Z",
  "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/r-q0Ws5Il00",
  "published": "2024-11-22T15:02:51Z",
  "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/2bi_cTYziu0",
  "published": "2024-11-22T15:02:51Z",
  "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/_Xthz_V1T8U",
  "published": "2024-11-22T15:02:51Z",
  "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/HYpYMgOninE",
  "published": "2024-11-22T15:02:51Z",
  "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/mbCLA6n5k2U",
  "published": "2024-11-22T15:02:51Z",
  "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/Ny1XM2htoOg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/kNfnr0GaJgM",
    "published": "2024-11-22T15:02:51Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/VpBnmd5XhKk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/IgNxDwONFvw",
    "published": "2024-11-22T15:02:51Z",
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/oh5fXiAGkGg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/K2Mj9IRgg24",
    "published": "2024-11-22T15:02:51Z",
    "sensitive": true,
    "summary": "summary",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/3R9IPnCIy5U",
  "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/lxGEcqxXqcs",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/3kNy6Nwm8WI",
  "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/66bTl6FRadI",
    "published": "2024-11-22T15:02:51Z",
    "sensitive": true,
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/t9mHk2JNnMg",
  "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/T7QzS5WBu54",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/_QxWEsNYhAg",
  "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/qFMV7H_3xpE",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}