]> Untitled Git - lemmy.git/blob - crates/apub/assets/lemmy/activities/create_or_update/update_page.json
Migrate towards using page.attachment field for url (ref #2144) (#2182)
[lemmy.git] / crates / apub / assets / lemmy / activities / create_or_update / update_page.json
1 {
2   "actor": "http://ds9.lemmy.ml/u/lemmy_alpha",
3   "to": [
4     "https://www.w3.org/ns/activitystreams#Public"
5   ],
6   "object": {
7     "type": "Page",
8     "id": "http://ds9.lemmy.ml/post/1",
9     "attributedTo": "http://ds9.lemmy.ml/u/lemmy_alpha",
10     "to": [
11       "http://enterprise.lemmy.ml/c/main",
12       "https://www.w3.org/ns/activitystreams#Public"
13     ],
14     "name": "test post 1",
15     "content": "<p>test body</p>\n",
16     "mediaType": "text/html",
17     "source": {
18       "content": "test body",
19       "mediaType": "text/markdown"
20     },
21     "url": "https://lemmy.ml/pictrs/image/xl8W7FZfk9.jpg",
22     "attachment": [
23       {
24         "type": "Link",
25         "href": "https://lemmy.ml/pictrs/image/xl8W7FZfk9.jpg"
26       }
27     ],
28     "commentsEnabled": true,
29     "sensitive": false,
30     "stickied": false,
31     "published": "2021-10-29T15:10:51.557399+00:00",
32     "updated": "2021-10-29T15:11:35.976374+00:00"
33   },
34   "cc": [
35     "http://enterprise.lemmy.ml/c/main"
36   ],
37   "type": "Update",
38   "id": "http://ds9.lemmy.ml/activities/update/ab360117-e165-4de4-b7fc-906b62c98631"
39 }