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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/RuX9-add-Fc",
"published": "2024-10-13T19:53:37Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/cwXjstTI6Qc",
"published": "2024-10-13T19:53:37Z",
"content": "Link",
"attachment": {
"href": "https://funfedi.dev",
"type": "Link"
}
}
}
mastodon
{
"id": "113301862368818842",
"created_at": "2024-10-13T19:53:37.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/cwXjstTI6Qc",
"url": "http://pasture-one-actor/actor/cwXjstTI6Qc",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "Link",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 109,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/azvLYL7Y7tU",
"published": "2024-10-13T19:53:38Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/ffjzy_Iz6l0",
"published": "2024-10-13T19:53:38Z",
"content": "Payment Link, see FEP-0ea0",
"attachment": {
"type": "Link",
"name": "Donate",
"href": "payto://iban/DE75512108001245126199",
"rel": "payment"
}
}
}
mastodon
{
"id": "113301862436016747",
"created_at": "2024-10-13T19:53:38.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/ffjzy_Iz6l0",
"url": "http://pasture-one-actor/actor/ffjzy_Iz6l0",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "Payment Link, see FEP-0ea0",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 110,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/r2uF-Z4N0eo",
"published": "2024-10-13T19:53:39Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/T1HgJYfe17E",
"published": "2024-10-13T19:53:39Z",
"content": "Text document",
"attachment": {
"type": "Document",
"name": "text document",
"url": "http://pasture-one-actor/assets/sample.txt"
}
}
}
mastodon
{
"id": "113301862505045341",
"created_at": "2024-10-13T19:53:39.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/T1HgJYfe17E",
"url": "http://pasture-one-actor/actor/T1HgJYfe17E",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "Text document",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 111,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [
{
"id": "113301862500182944",
"type": "unknown",
"url": "http://mastodon/media_proxy/113301862500182944/original",
"preview_url": "http://mastodon/media_proxy/113301862500182944/small",
"remote_url": "http://pasture-one-actor/assets/sample.txt",
"preview_remote_url": null,
"text_url": null,
"meta": null,
"description": "text document",
"blurhash": null
}
],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/jn0BRLFv_J8",
"published": "2024-10-13T19:53:40Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/CbHLK2fyAgs",
"published": "2024-10-13T19:53:40Z",
"content": "Text document, href instead of url",
"attachment": {
"type": "Document",
"name": "text document",
"href": "http://pasture-one-actor/assets/sample.txt"
}
}
}
mastodon
{
"id": "113301862564336213",
"created_at": "2024-10-13T19:53:40.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/CbHLK2fyAgs",
"url": "http://pasture-one-actor/actor/CbHLK2fyAgs",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "Text document, href instead of url",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 112,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/ieVCl6bkxN4",
"published": "2024-10-13T19:53:41Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/_FcR6EOuBPg",
"published": "2024-10-13T19:53:41Z",
"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"
}
}
}
mastodon
{
"id": "113301862623824113",
"created_at": "2024-10-13T19:53:41.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/_FcR6EOuBPg",
"url": "http://pasture-one-actor/actor/_FcR6EOuBPg",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "attached note",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 113,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/HVe5K79vtI0",
"published": "2024-10-13T19:53:42Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/ph2ryB6zSHs",
"published": "2024-10-13T19:53:42Z",
"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"
}
]
}
}
}
mastodon
{
"id": "113301862687005947",
"created_at": "2024-10-13T19:53:42.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/ph2ryB6zSHs",
"url": "http://pasture-one-actor/actor/ph2ryB6zSHs",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "Recipe",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 114,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/P7Vm25j3CnY",
"published": "2024-10-13T19:53:43Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/actor/qiI6xhtwHsU",
"published": "2024-10-13T19:53:43Z",
"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"
}
]
}
}
mastodon
{
"id": "113301862803994326",
"created_at": "2024-10-13T19:53:43.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/qiI6xhtwHsU",
"url": "http://pasture-one-actor/actor/qiI6xhtwHsU",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "10 images",
"filtered": [],
"reblog": null,
"account": {
"id": "113301837442241755",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2024-10-13T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://mastodon/avatars/original/missing.png",
"avatar_static": "http://mastodon/avatars/original/missing.png",
"header": "http://mastodon/headers/original/missing.png",
"header_static": "http://mastodon/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 115,
"last_status_at": "2024-10-13",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [
{
"id": "113301862775831780",
"type": "image",
"url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/775/831/780/original/3cf0d191a9909ef2.png",
"preview_url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/775/831/780/small/3cf0d191a9909ef2.png",
"remote_url": "http://pasture-one-actor/images/101.png",
"preview_remote_url": null,
"text_url": null,
"meta": {
"original": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
},
"small": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
}
},
"description": null,
"blurhash": "U21C9%hbfQhbhbfkfQfkfQfQfQfQhbfkfQfk"
},
{
"id": "113301862783556098",
"type": "image",
"url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/783/556/098/original/27e461a51fa9a232.png",
"preview_url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/783/556/098/small/27e461a51fa9a232.png",
"remote_url": "http://pasture-one-actor/images/102.png",
"preview_remote_url": null,
"text_url": null,
"meta": {
"original": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
},
"small": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
}
},
"description": null,
"blurhash": "U25C2{p[fQp[p[fkfQfkfQfQfQfQp[fkfQfk"
},
{
"id": "113301862789560790",
"type": "image",
"url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/789/560/790/original/d79c0df155ade50b.png",
"preview_url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/789/560/790/small/d79c0df155ade50b.png",
"remote_url": "http://pasture-one-actor/images/103.png",
"preview_remote_url": null,
"text_url": null,
"meta": {
"original": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
},
"small": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
}
},
"description": null,
"blurhash": "U0Eevh?KfQ?K?Kj[fQj[fQfQfQfQ?Kj[fQj["
},
{
"id": "113301862795916638",
"type": "image",
"url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/795/916/638/original/7fea3d47e0866d94.png",
"preview_url": "http://localhost:2970/system/cache/media_attachments/files/113/301/862/795/916/638/small/7fea3d47e0866d94.png",
"remote_url": "http://pasture-one-actor/images/104.png",
"preview_remote_url": null,
"text_url": null,
"meta": {
"original": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
},
"small": {
"width": 40,
"height": 40,
"size": "40x40",
"aspect": 1.0
}
},
"description": null,
"blurhash": "U28rGstDfQtDtDfRfQfRfQfQfQfQtDfRfQfR"
}
],
"mentions": [],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
Example 8¶
no result
no result
Example 9¶
no result
no result
Example 10¶
no result
no result
Example 11¶
no result
no result