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.

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "href": "https://funfedi.dev",
    "type": "Link"
  },
  "attributedTo": "http://actor.example",
  "content": "Link",
  "id": "http://actor.example/IhfzJ92LAjE",
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "href": "payto://iban/DE75512108001245126199",
    "name": "Donate",
    "rel": "payment",
    "type": "Link"
  },
  "attributedTo": "http://actor.example",
  "content": "Payment Link, see FEP-0ea0",
  "id": "http://actor.example/eMf85Xjj1FA",
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "name": "text document",
    "type": "Document",
    "url": "http://pasture-one-actor/assets/sample.txt"
  },
  "attributedTo": "http://actor.example",
  "content": "Text document",
  "id": "http://actor.example/NNPHC3oOotw",
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "href": "http://pasture-one-actor/assets/sample.txt",
    "name": "text document",
    "type": "Document"
  },
  "attributedTo": "http://actor.example",
  "content": "Text document, href instead of url",
  "id": "http://actor.example/iqAQJ9PQZwQ",
  "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": {
    "attributedTo": "http://pasture-one-actor/actor",
    "content": "This is just a note",
    "name": "attached note",
    "published": "2024-03-06T07:23:56Z",
    "type": "Note"
  },
  "attributedTo": "http://actor.example",
  "content": "attached note",
  "id": "http://actor.example/YCanP-jJ42s",
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "@context": "https://schema.org/docs/jsonldcontext.jsonld",
    "@type": "Recipe",
    "name": "Peanut Butter and Jelly Sandwich",
    "recipeCategory": "Breakfast",
    "recipeIngredient": [
      "Bread",
      "Peanut Butter",
      "Raspberry Jam",
      "Coffee (optional)"
    ],
    "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"
      }
    ]
  },
  "attributedTo": "http://actor.example",
  "content": "Recipe",
  "id": "http://actor.example/xKPpQGqaim0",
  "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": [
    {
      "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"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "10 images",
  "id": "http://actor.example/ZWL3huVKAwU",
  "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/1_Pj04xzACc",
  "object": {
    "attachment": {
      "href": "https://funfedi.dev",
      "type": "Link"
    },
    "attributedTo": "http://actor.example",
    "content": "Link",
    "id": "http://actor.example/ipJn4nf6Jxc",
    "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 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/S75j6h8gGEk",
  "object": {
    "attachment": {
      "href": "payto://iban/DE75512108001245126199",
      "name": "Donate",
      "rel": "payment",
      "type": "Link"
    },
    "attributedTo": "http://actor.example",
    "content": "Payment Link, see FEP-0ea0",
    "id": "http://actor.example/WhZnrtaRmQQ",
    "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 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/5YhG4yqQMLI",
  "object": {
    "attachment": {
      "name": "text document",
      "type": "Document",
      "url": "http://pasture-one-actor/assets/sample.txt"
    },
    "attributedTo": "http://actor.example",
    "content": "Text document",
    "id": "http://actor.example/ssQaBtlv4lE",
    "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 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/M2DyX5EHhn0",
  "object": {
    "attachment": {
      "href": "http://pasture-one-actor/assets/sample.txt",
      "name": "text document",
      "type": "Document"
    },
    "attributedTo": "http://actor.example",
    "content": "Text document, href instead of url",
    "id": "http://actor.example/DA2RSd6QgSU",
    "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/qcVSdrviH4o",
  "object": {
    "attachment": {
      "attributedTo": "http://pasture-one-actor/actor",
      "content": "This is just a note",
      "name": "attached note",
      "published": "2024-03-06T07:23:56Z",
      "type": "Note"
    },
    "attributedTo": "http://actor.example",
    "content": "attached note",
    "id": "http://actor.example/LeIV41_okMs",
    "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 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/Gp8f_wJqc54",
  "object": {
    "attachment": {
      "@context": "https://schema.org/docs/jsonldcontext.jsonld",
      "@type": "Recipe",
      "name": "Peanut Butter and Jelly Sandwich",
      "recipeCategory": "Breakfast",
      "recipeIngredient": [
        "Bread",
        "Peanut Butter",
        "Raspberry Jam",
        "Coffee (optional)"
      ],
      "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"
        }
      ]
    },
    "attributedTo": "http://actor.example",
    "content": "Recipe",
    "id": "http://actor.example/5sY8n-Bp38k",
    "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/dFQWtfK7K8Y",
  "object": {
    "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"
      }
    ],
    "attributedTo": "http://actor.example",
    "content": "10 images",
    "id": "http://actor.example/7xfD0rShqR0",
    "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"
}