]> Untitled Git - lemmy.git/blobdiff - crates/apub/assets/lemmy/activities/create_or_update/update_page.json
Activitypub breaking changes for Lemmy 0.18 (#2705)
[lemmy.git] / crates / apub / assets / lemmy / activities / create_or_update / update_page.json
index beadfa0d1f1262bbade487d26130d3845e263bad..2e1007638c4759b4c73bc38d7dd134ae17f228ee 100644 (file)
@@ -1,8 +1,6 @@
 {
   "actor": "http://ds9.lemmy.ml/u/lemmy_alpha",
-  "to": [
-    "https://www.w3.org/ns/activitystreams#Public"
-  ],
+  "to": ["https://www.w3.org/ns/activitystreams#Public"],
   "object": {
     "type": "Page",
     "id": "http://ds9.lemmy.ml/post/1",
@@ -11,6 +9,7 @@
       "http://enterprise.lemmy.ml/c/main",
       "https://www.w3.org/ns/activitystreams#Public"
     ],
+    "audience": "https://enterprise.lemmy.ml/c/main",
     "name": "test post 1",
     "content": "<p>test body</p>\n",
     "mediaType": "text/html",
       "content": "test body",
       "mediaType": "text/markdown"
     },
-    "url": "https://lemmy.ml/pictrs/image/xl8W7FZfk9.jpg",
+    "attachment": [
+      {
+        "type": "Link",
+        "href": "https://lemmy.ml/pictrs/image/xl8W7FZfk9.jpg"
+      }
+    ],
     "commentsEnabled": true,
     "sensitive": false,
-    "stickied": false,
     "published": "2021-10-29T15:10:51.557399+00:00",
     "updated": "2021-10-29T15:11:35.976374+00:00"
   },
-  "cc": [
-    "http://enterprise.lemmy.ml/c/main"
-  ],
+  "cc": ["http://enterprise.lemmy.ml/c/main"],
+  "audience": "https://enterprise.lemmy.ml/c/main",
   "type": "Update",
   "id": "http://ds9.lemmy.ml/activities/update/ab360117-e165-4de4-b7fc-906b62c98631"
-}
\ No newline at end of file
+}