Skip to content

Attachments

In the support table:

  • "✅" means at least one attachment,
  • "-" means parsed
  • "❌" means failed to parse

For more on image attachments see Image Description and Image Attachments.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/gAhX7YxJ0D0",
  "published": "2025-06-16T09:51:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/yMA0JeH11sY",
    "published": "2025-06-16T09:51:24Z",
    "content": "Image",
    "attachment": [
      {
        "type": "Image",
        "url": "http://pasture-one-actor/assets/cow.jpg",
        "mediaType": "image/jpeg",
        "name": "a cow"
      }
    ]
  }
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/UoFOB4HgVqo",
  "published": "2025-06-16T09:51:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/kAA6d72eGs0",
    "published": "2025-06-16T09:51:35Z",
    "content": "Video",
    "attachment": [
      {
        "type": "Video",
        "url": "http://pasture-one-actor/assets/cow_eating.mp4",
        "mediaType": "video/mp4",
        "name": "a cow eating grass"
      }
    ]
  }
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/j_mVZnqZoGo",
  "published": "2025-06-16T09:51:46Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/V_jK6j1WZsY",
    "published": "2025-06-16T09:51:46Z",
    "content": "Audio",
    "attachment": [
      {
        "type": "Audio",
        "url": "http://pasture-one-actor/assets/cow_moo.mp3",
        "mediaType": "audio/mpeg",
        "name": "the moo sound of a cow"
      }
    ]
  }
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/KgyIzb4py7k",
  "published": "2025-06-16T09:51:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/VYY0q7-2aLw",
    "published": "2025-06-16T09:51:57Z",
    "content": "Audio as Document",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/assets/cow_moo.mp3",
        "mediaType": "audio/mpeg",
        "name": "the moo sound of a cow"
      }
    ]
  }
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/xmXVMLx-uJw",
  "published": "2025-06-16T09:52:07Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/HEgAjnBiuTc",
    "published": "2025-06-16T09:52:07Z",
    "content": "Link",
    "attachment": {
      "href": "https://funfedi.dev",
      "type": "Link"
    }
  }
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/TCx1mw00ajU",
  "published": "2025-06-16T09:52:18Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/PrHWAgWha8U",
    "published": "2025-06-16T09:52:18Z",
    "content": "Payment Link, see FEP-0ea0",
    "attachment": {
      "type": "Link",
      "name": "Donate",
      "href": "payto://iban/DE75512108001245126199",
      "rel": "payment"
    }
  }
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/a9njdlNJ9hU",
  "published": "2025-06-16T09:52:29Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/JxqUNuGgjjM",
    "published": "2025-06-16T09:52:29Z",
    "content": "Text document",
    "attachment": {
      "type": "Document",
      "name": "text document",
      "url": "http://pasture-one-actor/assets/sample.txt"
    }
  }
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/pOwMhZx35HA",
  "published": "2025-06-16T09:52:39Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/G4mQGgRdKto",
    "published": "2025-06-16T09:52:39Z",
    "content": "Text document, href instead of url",
    "attachment": {
      "type": "Document",
      "name": "text document",
      "href": "http://pasture-one-actor/assets/sample.txt"
    }
  }
}

Example 9

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/w-UrKUJGARM",
  "published": "2025-06-16T09:52:50Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/TyEsxkCSOeU",
    "published": "2025-06-16T09:52:50Z",
    "content": "attached note",
    "attachment": {
      "type": "Note",
      "attributedTo": "http://pasture-one-actor/actor",
      "name": "attached note",
      "content": "This is just a note",
      "published": "2024-03-06T07:23:56Z"
    }
  }
}

Example 10

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/isCINHXh5c0",
  "published": "2025-06-16T09:53:01Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/0Bj1Ge-Atvc",
    "published": "2025-06-16T09:53:01Z",
    "content": "Recipe",
    "attachment": {
      "@context": "https://schema.org/docs/jsonldcontext.jsonld",
      "@type": "Recipe",
      "name": "Peanut Butter and Jelly Sandwich",
      "recipeIngredient": [
        "Bread",
        "Peanut Butter",
        "Raspberry Jam",
        "Coffee (optional)"
      ],
      "recipeCategory": "Breakfast",
      "recipeInstructions": [
        {
          "@type": "HowToStep",
          "text": "Take a slice of bread and put it on a plate"
        },
        {
          "@type": "HowToStep",
          "text": "Spread peanut butter on the bread"
        },
        {
          "@type": "HowToStep",
          "text": "Spread raspberry jam on top of the peanut butter"
        },
        {
          "@type": "HowToStep",
          "text": "Eat your PB&J Sandwich and drink your coffee if you have it"
        },
        {
          "@type": "HowToStep",
          "text": "Check if you are still hungry, if yes a repeat step 1"
        }
      ]
    }
  }
}

Example 11

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/cCWkx2SyiV4",
  "published": "2025-06-16T09:53:12Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/dF_t4NKTdbw",
    "published": "2025-06-16T09:53:12Z",
    "content": "10 images",
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/101.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/102.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/103.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/104.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/105.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/106.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/107.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/108.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/109.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/1010.png"
      }
    ]
  }
}