Skip to content

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture_one_actor/actor/Mx8ucifbIcs",
  "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/hGMgkZfFcps",
    "published": "2024-03-06T17:51:49Z",
    "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-03-06T17:47:40.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": "AfaAdDqISfo9zX3CgC",
    "last_status_at": "2024-03-06T17:51:50",
    "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": "Link",
  "created_at": "2024-03-06T17:51:49.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AfaB0DXpjcLLjDNasa",
  "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": "AfaATrrLaRx5LYIguO",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "Link"
    },
    "context": "http://pasture_one_actor/actor/hGMgkZfFcps",
    "conversation_id": 2018524866,
    "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/hGMgkZfFcps",
  "url": "http://pasture_one_actor/actor/hGMgkZfFcps",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture_one_actor/actor/qZkABR5ZVoE",
  "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/YXlrqKe368A",
    "published": "2024-03-06T17:51:51Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture_one_actor/actor/DINIyEfdJhI",
  "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/ZKpwEj9kevs",
    "published": "2024-03-06T17:51:53Z",
    "content": "Text document",
    "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-03-06T17:47:40.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": "AfaAdDqISfo9zX3CgC",
    "last_status_at": "2024-03-06T17:51:54",
    "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": 92,
    "url": "http://pasture_one_actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "Text document",
  "created_at": "2024-03-06T17:51:53.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AfaB0bJTMf7HRcqSpM",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [
    {
      "blurhash": null,
      "description": "text document",
      "id": "-1545926263",
      "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": "AfaATrrLaRx5LYIguO",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "Text document"
    },
    "context": "http://pasture_one_actor/actor/ZKpwEj9kevs",
    "conversation_id": 278629278,
    "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/ZKpwEj9kevs",
  "url": "http://pasture_one_actor/actor/ZKpwEj9kevs",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture_one_actor/actor/SlHe93pa2ts",
  "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/grrnyMdJD1o",
    "published": "2024-03-06T17:51:55Z",
    "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 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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture_one_actor/actor/KfCsH8018ts",
  "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/joTA2llTUYU",
    "published": "2024-03-06T17:51:57Z",
    "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 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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pleroma/users/full"
  ],
  "id": "http://pasture_one_actor/actor/Ttv3pdl6IgE",
  "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/tv6ksrWXuGY",
    "published": "2024-03-06T17:51:59Z",
    "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-03-06T17:47:40.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": "AfaAdDqISfo9zX3CgC",
    "last_status_at": "2024-03-06T17:52:00",
    "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": 93,
    "url": "http://pasture_one_actor/actor",
    "username": "actor"
  },
  "application": null,
  "bookmarked": false,
  "card": null,
  "content": "10 images",
  "created_at": "2024-03-06T17:51:59.000Z",
  "edited_at": null,
  "emojis": [],
  "favourited": false,
  "favourites_count": 0,
  "id": "AfaB1ApbJCc1bP97GS",
  "in_reply_to_account_id": null,
  "in_reply_to_id": null,
  "language": null,
  "media_attachments": [
    {
      "blurhash": null,
      "description": null,
      "id": "2076874944",
      "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": "569336714",
      "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": "-333756389",
      "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": "1696545143",
      "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": "1701072047",
      "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": "-680353224",
      "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": "-1820344142",
      "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": "320642249",
      "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": "-1633817647",
      "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": "-1359207410",
      "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": "AfaATrrLaRx5LYIguO",
      "url": "http://pleroma/users/full",
      "username": "full"
    }
  ],
  "muted": false,
  "pinned": false,
  "pleroma": {
    "content": {
      "text/plain": "10 images"
    },
    "context": "http://pasture_one_actor/actor/tv6ksrWXuGY",
    "conversation_id": 1049271239,
    "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/tv6ksrWXuGY",
  "url": "http://pasture_one_actor/actor/tv6ksrWXuGY",
  "visibility": "public"
}
```

Example 7

no result

no result