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://sharkey/users/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/bKsQx2QtfBY",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/-gl14DnZ7hU",
    "published": "2024-03-06T17:58:45Z",
    "content": "Link",
    "attachment": {
      "href": "https://funfedi.dev",
      "type": "Link"
    }
  }
}
```


no result

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://sharkey/users/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/9CbHt187X4Y",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/dw9GubhGpG0",
    "published": "2024-03-06T17:58:47Z",
    "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://sharkey/users/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/AN6-mmdqfZg",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/_aniohR7dDg",
    "published": "2024-03-06T17:58:49Z",
    "content": "Text document",
    "attachment": {
      "type": "Document",
      "name": "text document",
      "href": "http://pasture_one_actor/assets/sample.txt"
    }
  }
}
```


no result

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://sharkey/users/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/JugIDiZqTXQ",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/V9WpfTnb-x4",
    "published": "2024-03-06T17:58:51Z",
    "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://sharkey/users/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/4p45VtaBVnQ",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/B5L5Rj2dXjg",
    "published": "2024-03-06T17:58:53Z",
    "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://sharkey/users/9qjnvr5wi3ew0001"
  ],
  "id": "http://pasture_one_actor/actor/kSdYbXZWln8",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qjnvr5wi3ew0001"
    ],
    "id": "http://pasture_one_actor/actor/27HVnFCB-R0",
    "published": "2024-03-06T17:58:55Z",
    "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="sharkey"
{
  "id": "9qjo376gpbvn003u",
  "uri": "http://pasture_one_actor/actor/27HVnFCB-R0",
  "url": "http://pasture_one_actor/actor/27HVnFCB-R0",
  "account": {
    "id": "9qjnxfoapbvn0002",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "fqn": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-03-06T17:54:26.074Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 96,
    "note": "",
    "url": "http://pasture_one_actor/actor",
    "uri": "http://pasture_one_actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p><span>10 images</span></p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "10 images",
  "created_at": "2024-03-06T17:58:55.000Z",
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [
    {
      "id": "9qjo3817pbvn003k",
      "type": "image",
      "url": "http://pasture_one_actor/images/101.png",
      "remote_url": "http://pasture_one_actor/images/101.png",
      "preview_url": "http://pasture_one_actor/images/101.png",
      "text_url": "http://pasture_one_actor/images/101.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e4E7l]y-fQy-fQy-j[fQj[fQfQfQfQfQfQy-j[fQj[fQfQfQfQfQfQ"
    },
    {
      "id": "9qjo381apbvn003l",
      "type": "image",
      "url": "http://pasture_one_actor/images/102.png",
      "remote_url": "http://pasture_one_actor/images/102.png",
      "preview_url": "http://pasture_one_actor/images/102.png",
      "text_url": "http://pasture_one_actor/images/102.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e37;N5pMfQpMfQpMfkfQfkfQfQfQfQfQfQpMfkfQfkfQfQfQfQfQfQ"
    },
    {
      "id": "9qjo383apbvn003m",
      "type": "image",
      "url": "http://pasture_one_actor/images/103.png",
      "remote_url": "http://pasture_one_actor/images/103.png",
      "preview_url": "http://pasture_one_actor/images/103.png",
      "text_url": "http://pasture_one_actor/images/103.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e1Ki}G}FfQ}FfQ}FjtfQjtfQfQfQfQfQfQ}FjtfQjtfQfQfQfQfQfQ"
    },
    {
      "id": "9qjo383bpbvn003n",
      "type": "image",
      "url": "http://pasture_one_actor/images/104.png",
      "remote_url": "http://pasture_one_actor/images/104.png",
      "preview_url": "http://pasture_one_actor/images/104.png",
      "text_url": "http://pasture_one_actor/images/104.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e113u#kJfQkJfQkJfRfQfRfQfQfQfQfQfQkJfRfQfRfQfQfQfQfQfQ"
    },
    {
      "id": "9qjo385lpbvn003o",
      "type": "image",
      "url": "http://pasture_one_actor/images/105.png",
      "remote_url": "http://pasture_one_actor/images/105.png",
      "preview_url": "http://pasture_one_actor/images/105.png",
      "text_url": "http://pasture_one_actor/images/105.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e03Juto~fQo~fQo~fkfQfkfQfQfQfQfQfQo~fkfQfkfQfQfQfQfQfQ"
    },
    {
      "id": "9qjo385mpbvn003p",
      "type": "image",
      "url": "http://pasture_one_actor/images/106.png",
      "remote_url": "http://pasture_one_actor/images/106.png",
      "preview_url": "http://pasture_one_actor/images/106.png",
      "text_url": "http://pasture_one_actor/images/106.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e31*SJlCfQlCfQlCfkfQfkfQfQfQfQfQfQlCfkfQfkfQfQfQfQfQfQ"
    },
    {
      "id": "9qjo387xpbvn003q",
      "type": "image",
      "url": "http://pasture_one_actor/images/107.png",
      "remote_url": "http://pasture_one_actor/images/107.png",
      "preview_url": "http://pasture_one_actor/images/107.png",
      "text_url": "http://pasture_one_actor/images/107.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e0ARlK=hfQ=hfQ=hjufQjufQfQfQfQfQfQ=hjufQjufQfQfQfQfQfQ"
    },
    {
      "id": "9qjo387ypbvn003r",
      "type": "image",
      "url": "http://pasture_one_actor/images/108.png",
      "remote_url": "http://pasture_one_actor/images/108.png",
      "preview_url": "http://pasture_one_actor/images/108.png",
      "text_url": "http://pasture_one_actor/images/108.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e02jo9o~fQo~fQo~fkfQfkfQfQfQfQfQfQo~fkfQfkfQfQfQfQfQfQ"
    },
    {
      "id": "9qjo38a5pbvn003s",
      "type": "image",
      "url": "http://pasture_one_actor/images/109.png",
      "remote_url": "http://pasture_one_actor/images/109.png",
      "preview_url": "http://pasture_one_actor/images/109.png",
      "text_url": "http://pasture_one_actor/images/109.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e4Q*{F^-fQ^-fQ^-j[fQj[fQfQfQfQfQfQ^-j[fQj[fQfQfQfQfQfQ"
    },
    {
      "id": "9qjo38a6pbvn003t",
      "type": "image",
      "url": "http://pasture_one_actor/images/1010.png",
      "remote_url": "http://pasture_one_actor/images/1010.png",
      "preview_url": "http://pasture_one_actor/images/1010.png",
      "text_url": "http://pasture_one_actor/images/1010.png",
      "meta": {
        "width": 40,
        "height": 40
      },
      "description": null,
      "blurhash": "e1HseP]YfQ]YfQ]YjufQjufQfQfQfQfQfQ]YjufQjufQfQfQfQfQfQ"
    }
  ],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "reactions": [],
  "emoji_reactions": [],
  "bookmarked": false,
  "quote": null
}
```

Example 7

no result

no result