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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/5uHibHeaXnY",
"published": "2025-04-11T08:56:34Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/fgf8_Ys-Q3o",
"published": "2025-04-11T08:56:34Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/KAZEbWnBmDg",
"published": "2025-04-11T08:56:45Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/zTX4BP6SHVA",
"published": "2025-04-11T08:56:45Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/jjenED_PKvg",
"published": "2025-04-11T08:56:56Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/tUdNZVQNHtM",
"published": "2025-04-11T08:56:56Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/uvMf3dyJFJg",
"published": "2025-04-11T08:57:07Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/LvLbsU7yNVM",
"published": "2025-04-11T08:57:07Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/81-U6NlwE-Y",
"published": "2025-04-11T08:57:17Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/bzhU3ex1pb4",
"published": "2025-04-11T08:57:17Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/e8uDnKtS7B0",
"published": "2025-04-11T08:57:28Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/w6GA9TVVmQA",
"published": "2025-04-11T08:57:28Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/q-flvWzs0eY",
"published": "2025-04-11T08:57:39Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/yQFAq7d4CqM",
"published": "2025-04-11T08:57:39Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/wNCS9f8a1hc",
"published": "2025-04-11T08:57:50Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/JE__o8jZ3oA",
"published": "2025-04-11T08:57:50Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/gRWhFt4aus0",
"published": "2025-04-11T08:58:00Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/2a7Bx6LMUtI",
"published": "2025-04-11T08:58:00Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/c6aRtO7XUNE",
"published": "2025-04-11T08:58:11Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/sNRAVPPRpnI",
"published": "2025-04-11T08:58:11Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/WUO-dAIuiXs",
"published": "2025-04-11T08:58:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/9Uit-nIwXbQ",
"published": "2025-04-11T08:58:22Z",
"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"
}
]
}
}