Attachments
Examples
Example 1
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/YGZfygsebZY",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/vGnNN68AWiY",
"published": "2024-04-01T14:33:11Z",
"content": "Link",
"attachment": {
"href": "https://funfedi.dev",
"type": "Link"
}
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-04-01T14:26:11.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AgRm0dICNcpp1NCgsK",
"last_status_at": "2024-04-01T14:33:11",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 88,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "Link",
"created_at": "2024-04-01T14:33:11.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AgRmdNo9svcsI4d8Ai",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": null,
"id": "1380485988",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "https://funfedi.dev",
"remote_url": "https://funfedi.dev",
"text_url": "https://funfedi.dev",
"type": "unknown",
"url": "https://funfedi.dev"
}
],
"mentions": [
{
"acct": "full",
"id": "AgRlqqIxBQLloUgDkO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "Link"
},
"context": "http://pasture-one-actor/actor/vGnNN68AWiY",
"conversation_id": 2141573992,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/vGnNN68AWiY",
"url": "http://pasture-one-actor/actor/vGnNN68AWiY",
"visibility": "public"
}
```
Example 2
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/sdbV9eVcyUc",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/hJ2OOoxyKKc",
"published": "2024-04-01T14:33:11Z",
"content": "Payment Link, see FEP-0ea0",
"attachment": {
"type": "Link",
"name": "Donate",
"href": "payto://iban/DE75512108001245126199",
"rel": "payment"
}
}
}
```
no result
Example 3
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/mSKs4IAXZok",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/c8M31tECBXU",
"published": "2024-04-01T14:33:23Z",
"content": "Text document",
"attachment": {
"type": "Document",
"name": "text document",
"url": "http://pasture-one-actor/assets/sample.txt"
}
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-04-01T14:26:11.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AgRm0dICNcpp1NCgsK",
"last_status_at": "2024-04-01T14:33:23",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 89,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "Text document",
"created_at": "2024-04-01T14:33:23.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AgRmeUSadcN7DA4NdI",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": "text document",
"id": "1125436732",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/assets/sample.txt",
"remote_url": "http://pasture-one-actor/assets/sample.txt",
"text_url": "http://pasture-one-actor/assets/sample.txt",
"type": "unknown",
"url": "http://pasture-one-actor/assets/sample.txt"
}
],
"mentions": [
{
"acct": "full",
"id": "AgRlqqIxBQLloUgDkO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "Text document"
},
"context": "http://pasture-one-actor/actor/c8M31tECBXU",
"conversation_id": 227709569,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/c8M31tECBXU",
"url": "http://pasture-one-actor/actor/c8M31tECBXU",
"visibility": "public"
}
```
Example 4
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/I9Teu-pV-Ng",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/rrS8wB3Eax0",
"published": "2024-04-01T14:33:23Z",
"content": "Text document, href instead of url",
"attachment": {
"type": "Document",
"name": "text document",
"href": "http://pasture-one-actor/assets/sample.txt"
}
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-04-01T14:26:11.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AgRm0dICNcpp1NCgsK",
"last_status_at": "2024-04-01T14:33:24",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 90,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "Text document, href instead of url",
"created_at": "2024-04-01T14:33:23.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AgRmeYJAKbD595guUy",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": "text document",
"id": "1125436732",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/assets/sample.txt",
"remote_url": "http://pasture-one-actor/assets/sample.txt",
"text_url": "http://pasture-one-actor/assets/sample.txt",
"type": "unknown",
"url": "http://pasture-one-actor/assets/sample.txt"
}
],
"mentions": [
{
"acct": "full",
"id": "AgRlqqIxBQLloUgDkO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "Text document, href instead of url"
},
"context": "http://pasture-one-actor/actor/rrS8wB3Eax0",
"conversation_id": 1716272346,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/rrS8wB3Eax0",
"url": "http://pasture-one-actor/actor/rrS8wB3Eax0",
"visibility": "public"
}
```
Example 5
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/CfDvbtpfwEU",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/qR0KAn2TeH0",
"published": "2024-04-01T14:33:24Z",
"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"
}
}
}
```
no result
Example 6
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/EMwT37lsECo",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/3PFKDULHU9Y",
"published": "2024-04-01T14:33:36Z",
"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"
}
]
}
}
}
```
no result
Example 7
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://pleroma/users/full",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Tdu9sAoJSso",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture-one-actor/actor/WJI00melyYc",
"published": "2024-04-01T14:33:47Z",
"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"
}
]
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture-one-actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-04-01T14:26:11.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AgRm0dICNcpp1NCgsK",
"last_status_at": "2024-04-01T14:33:48",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 91,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "10 images",
"created_at": "2024-04-01T14:33:47.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AgRmgi4F18tNzbjsq8",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [
{
"blurhash": null,
"description": null,
"id": "-593645245",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/101.png",
"remote_url": "http://pasture-one-actor/images/101.png",
"text_url": "http://pasture-one-actor/images/101.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/101.png"
},
{
"blurhash": null,
"description": null,
"id": "-88812142",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/102.png",
"remote_url": "http://pasture-one-actor/images/102.png",
"text_url": "http://pasture-one-actor/images/102.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/102.png"
},
{
"blurhash": null,
"description": null,
"id": "1476243381",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/103.png",
"remote_url": "http://pasture-one-actor/images/103.png",
"text_url": "http://pasture-one-actor/images/103.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/103.png"
},
{
"blurhash": null,
"description": null,
"id": "1691056015",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/104.png",
"remote_url": "http://pasture-one-actor/images/104.png",
"text_url": "http://pasture-one-actor/images/104.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/104.png"
},
{
"blurhash": null,
"description": null,
"id": "-1536550267",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/105.png",
"remote_url": "http://pasture-one-actor/images/105.png",
"text_url": "http://pasture-one-actor/images/105.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/105.png"
},
{
"blurhash": null,
"description": null,
"id": "-2100394776",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/106.png",
"remote_url": "http://pasture-one-actor/images/106.png",
"text_url": "http://pasture-one-actor/images/106.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/106.png"
},
{
"blurhash": null,
"description": null,
"id": "1406709207",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/107.png",
"remote_url": "http://pasture-one-actor/images/107.png",
"text_url": "http://pasture-one-actor/images/107.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/107.png"
},
{
"blurhash": null,
"description": null,
"id": "-1648424940",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/108.png",
"remote_url": "http://pasture-one-actor/images/108.png",
"text_url": "http://pasture-one-actor/images/108.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/108.png"
},
{
"blurhash": null,
"description": null,
"id": "2075120386",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/109.png",
"remote_url": "http://pasture-one-actor/images/109.png",
"text_url": "http://pasture-one-actor/images/109.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/109.png"
},
{
"blurhash": null,
"description": null,
"id": "-1763988039",
"pleroma": {
"mime_type": "application/octet-stream"
},
"preview_url": "http://pasture-one-actor/images/1010.png",
"remote_url": "http://pasture-one-actor/images/1010.png",
"text_url": "http://pasture-one-actor/images/1010.png",
"type": "unknown",
"url": "http://pasture-one-actor/images/1010.png"
}
],
"mentions": [
{
"acct": "full",
"id": "AgRlqqIxBQLloUgDkO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "10 images"
},
"context": "http://pasture-one-actor/actor/WJI00melyYc",
"conversation_id": 1902104439,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture-one-actor/actor/WJI00melyYc",
"url": "http://pasture-one-actor/actor/WJI00melyYc",
"visibility": "public"
}
```