Skip to content

Media Types

This support table illustrates what happens when varying media types are chosen.

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "<b>text</b>",
  "id": "http://actor.example/object/U8WvLmJrauQ",
  "mediaType": "text/html",
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "<b>text</b>",
  "id": "http://actor.example/object/SjjT8UiPeMs",
  "mediaType": "text/markdown",
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "<b>text</b>",
  "id": "http://actor.example/object/ErxouCyDj6w",
  "mediaType": "text/plain",
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "__text__",
  "id": "http://actor.example/object/Va1Z8RM2iYo",
  "mediaType": "text/html",
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "__text__",
  "id": "http://actor.example/object/qhDUEi4EnZM",
  "mediaType": "text/markdown",
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "__text__",
  "id": "http://actor.example/object/W420QAeJ7Mc",
  "mediaType": "text/plain",
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "**text**",
  "id": "http://actor.example/object/_aJLvZzwpcQ",
  "mediaType": "text/html",
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "**text**",
  "id": "http://actor.example/object/hdAbA5wzqx8",
  "mediaType": "text/markdown",
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "**text**",
  "id": "http://actor.example/object/YDjQfgjH5bs",
  "mediaType": "text/plain",
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/m2hJaRlVQOE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "<b>text</b>",
    "id": "http://actor.example/object/x_StDAqHiVc",
    "mediaType": "text/html",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#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/activity/XePEO6TIDM4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "<b>text</b>",
    "id": "http://actor.example/object/IvLZvPxBcHI",
    "mediaType": "text/markdown",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#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/activity/QAGZ0iaO1wc",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "<b>text</b>",
    "id": "http://actor.example/object/ROXj12xvQTQ",
    "mediaType": "text/plain",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#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/activity/7FJyceAxVV0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "__text__",
    "id": "http://actor.example/object/_nz3oJ6-m_A",
    "mediaType": "text/html",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#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/activity/jqbvz33E1KY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "__text__",
    "id": "http://actor.example/object/QTBDpvtptSs",
    "mediaType": "text/markdown",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#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/activity/sbyOhJZz7VA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "__text__",
    "id": "http://actor.example/object/qbfK4wWqU5g",
    "mediaType": "text/plain",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#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/activity/fGrTMHcn9V4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "**text**",
    "id": "http://actor.example/object/MXrHGnYnnhQ",
    "mediaType": "text/html",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/gFwVz9KksTE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "**text**",
    "id": "http://actor.example/object/n7RkDzgOdkc",
    "mediaType": "text/markdown",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/2w5YqXN8WVw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "**text**",
    "id": "http://actor.example/object/ct80el0L5JQ",
    "mediaType": "text/plain",
    "published": "2025-11-21T12:04:56Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:56Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}