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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/N1m_rIKr950",
"published": "2025-09-08T17:37:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/rbt8yq4Knbo",
"published": "2025-09-08T17:37:19Z",
"content": "Image",
"attachment": [
{
"type": "Image",
"url": "http://pasture-one-actor/assets/cow.jpg",
"mediaType": "image/jpeg",
"name": "a cow"
}
],
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 254,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:37:19.668473Z",
"ap_id": "http://pasture-one-actor/object/rbt8yq4Knbo",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "Image",
"url": "http://pasture-one-actor/assets/cow.jpg",
"thumbnail_url": "http://pasture-one-actor/assets/cow.jpg",
"small_thumbnail_url": "http://pasture-one-actor/assets/cow.jpg",
"alt_text": "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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/TmzU5z8xgq4",
"published": "2025-09-08T17:37:20Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/M9C50uWJ6gI",
"published": "2025-09-08T17:37:20Z",
"content": "Video",
"attachment": [
{
"type": "Video",
"url": "http://pasture-one-actor/assets/cow_eating.mp4",
"mediaType": "video/mp4",
"name": "a cow eating grass"
}
],
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 255,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:37:20.401859Z",
"ap_id": "http://pasture-one-actor/object/M9C50uWJ6gI",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "Video"
}
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/tI2cR7441sw",
"published": "2025-09-08T17:37:20Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/LnYwPO_o1mg",
"published": "2025-09-08T17:37:20Z",
"content": "Audio",
"attachment": [
{
"type": "Audio",
"url": "http://pasture-one-actor/assets/cow_moo.mp3",
"mediaType": "audio/mpeg",
"name": "the moo sound of a cow"
}
],
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 256,
"user_id": 2,
"community_id": 1,
"title": "the moo sound of a cow",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:37:21.209573Z",
"ap_id": "http://pasture-one-actor/object/LnYwPO_o1mg",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "Audio",
"url": "http://pasture-one-actor/assets/cow_moo.mp3"
}
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/FFvg2xPPh8E",
"published": "2025-09-08T17:37:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/QWeRqlJjgdM",
"published": "2025-09-08T17:37:21Z",
"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"
}
],
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 257,
"user_id": 2,
"community_id": 1,
"title": "[Microblog] Audio as Document",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:37:21.969735Z",
"ap_id": "http://pasture-one-actor/object/QWeRqlJjgdM",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "Audio as Document",
"url": "http://pasture-one-actor/assets/cow_moo.mp3"
}
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/wu3GlRbAtKU",
"published": "2025-09-08T17:37:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/i4hJ4f4LfB8",
"published": "2025-09-08T17:37:22Z",
"content": "Link",
"attachment": {
"href": "https://funfedi.dev",
"type": "Link"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/iAf73D4_J_g",
"published": "2025-09-08T17:37:35Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/uW_p1VhwEpA",
"published": "2025-09-08T17:37:35Z",
"content": "Payment Link, see FEP-0ea0",
"attachment": {
"type": "Link",
"name": "Donate",
"href": "payto://iban/DE75512108001245126199",
"rel": "payment"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/9RhPAvTrMN0",
"published": "2025-09-08T17:37:47Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/GKk39YIbSs4",
"published": "2025-09-08T17:37:47Z",
"content": "Text document",
"attachment": {
"type": "Document",
"name": "text document",
"url": "http://pasture-one-actor/assets/sample.txt"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 258,
"user_id": 2,
"community_id": 1,
"title": "[Microblog] Text document",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:37:48.138690Z",
"ap_id": "http://pasture-one-actor/object/GKk39YIbSs4",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/t2zZ6lz8ERw",
"published": "2025-09-08T17:37:48Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/YvHk8BqyGdM",
"published": "2025-09-08T17:37:48Z",
"content": "Text document, href instead of url",
"attachment": {
"type": "Document",
"name": "text document",
"href": "http://pasture-one-actor/assets/sample.txt"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/Gtfyl9x5Ln4",
"published": "2025-09-08T17:38:01Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/sM7FlR0ZwUA",
"published": "2025-09-08T17:38:01Z",
"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"
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/umJWVUcmLxc",
"published": "2025-09-08T17:38:14Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/WhH1tO5Xuss",
"published": "2025-09-08T17:38:14Z",
"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"
}
]
},
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
no result
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://pyfedi.local/c/pie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/U_Gwt3_pwKo",
"published": "2025-09-08T17:38:26Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pyfedi.local/c/pie"
],
"id": "http://pasture-one-actor/object/UJKRhu6GVUk",
"published": "2025-09-08T17:38:26Z",
"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"
}
],
"tag": [
{
"type": "Mention",
"href": "http://pyfedi.local/c/pie"
}
]
}
}
pyfedi
{
"id": 259,
"user_id": 2,
"community_id": 1,
"title": "(content in post body)",
"deleted": false,
"nsfw": false,
"sticky": false,
"published": "2025-09-08T17:38:27.172409Z",
"ap_id": "http://pasture-one-actor/object/UJKRhu6GVUk",
"local": false,
"language_id": 2,
"removed": false,
"locked": false,
"body": "10 images",
"url": "http://pasture-one-actor/images/101.png",
"thumbnail_url": "http://pasture-one-actor/images/101.png",
"small_thumbnail_url": "http://pasture-one-actor/images/101.png"
}