]> Untitled Git - lemmy.git/blobdiff - crates/apub/assets/lemmy/collections/group_outbox.json
When announcing incoming activities, keep extra fields (#2550)
[lemmy.git] / crates / apub / assets / lemmy / collections / group_outbox.json
index 147891771fa4b516eabc986955082fa34e7747e8..d39c12d9eb4e029f39827d51dffd21fe3b8c49cc 100644 (file)
@@ -1,61 +1,81 @@
 {
-  "type": "OrderedCollection",
-  "id": "https://ds9.lemmy.ml/c/testcom/outbox",
-  "totalItems": 2,
-  "orderedItems": [
+  "type":"OrderedCollection",
+  "id":"https://ds9.lemmy.ml/c/testcom/outbox",
+  "totalItems":2,
+  "orderedItems":[
     {
-      "actor": "https://ds9.lemmy.ml/c/testcom",
-      "to": [
+      "actor":"https://ds9.lemmy.ml/c/testcom",
+      "to":[
         "https://www.w3.org/ns/activitystreams#Public"
       ],
-      "object": {
-        "type": "Page",
-        "id": "https://ds9.lemmy.ml/post/2328",
-        "attributedTo": "https://ds9.lemmy.ml/u/nutomic",
-        "to": [
-          "https://ds9.lemmy.ml/c/testcom",
+      "object":{
+        "actor":"https://ds9.lemmy.ml/u/nutomic",
+        "to":[
           "https://www.w3.org/ns/activitystreams#Public"
         ],
-        "cc": [],
-        "name": "another outbox test",
-        "mediaType": "text/html",
-        "commentsEnabled": true,
-        "sensitive": false,
-        "stickied": false,
-        "published": "2021-11-18T17:19:45.895163+00:00"
+        "cc":[
+          "https://ds9.lemmy.ml/c/testcom"
+        ],
+        "type":"Create",
+        "id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
+        "object":{
+          "type":"Page",
+          "id":"https://ds9.lemmy.ml/post/2328",
+          "attributedTo":"https://ds9.lemmy.ml/u/nutomic",
+          "to":[
+            "https://ds9.lemmy.ml/c/testcom",
+            "https://www.w3.org/ns/activitystreams#Public"
+          ],
+          "name":"another outbox test",
+          "mediaType":"text/html",
+          "commentsEnabled":true,
+          "sensitive":false,
+          "stickied":false,
+          "published":"2021-11-18T17:19:45.895163+00:00"
+        }
       },
-      "cc": [
+      "cc":[
         "https://ds9.lemmy.ml/c/testcom/followers"
       ],
-      "type": "Announce",
-      "id": "https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6"
+      "type":"Announce",
+      "id":"https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6"
     },
     {
-      "actor": "https://ds9.lemmy.ml/c/testcom",
-      "to": [
+      "actor":"https://ds9.lemmy.ml/c/testcom",
+      "to":[
         "https://www.w3.org/ns/activitystreams#Public"
       ],
-      "object": {
-        "type": "Page",
-        "id": "https://ds9.lemmy.ml/post/2327",
-        "attributedTo": "https://ds9.lemmy.ml/u/nutomic",
-        "to": [
-          "https://ds9.lemmy.ml/c/testcom",
+      "object":{
+        "actor":"https://ds9.lemmy.ml/u/nutomic",
+        "to":[
           "https://www.w3.org/ns/activitystreams#Public"
         ],
-        "cc": [],
-        "name": "outbox test",
-        "mediaType": "text/html",
-        "commentsEnabled": true,
-        "sensitive": false,
-        "stickied": false,
-        "published": "2021-11-18T17:19:05.763109+00:00"
+        "cc":[
+          "https://ds9.lemmy.ml/c/testcom"
+        ],
+        "type":"Create",
+        "id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
+        "object":{
+          "type":"Page",
+          "id":"https://ds9.lemmy.ml/post/2327",
+          "attributedTo":"https://ds9.lemmy.ml/u/nutomic",
+          "to":[
+            "https://ds9.lemmy.ml/c/testcom",
+            "https://www.w3.org/ns/activitystreams#Public"
+          ],
+          "name":"outbox test",
+          "mediaType":"text/html",
+          "commentsEnabled":true,
+          "sensitive":false,
+          "stickied":false,
+          "published":"2021-11-18T17:19:05.763109+00:00"
+        }
       },
-      "cc": [
+      "cc":[
         "https://ds9.lemmy.ml/c/testcom/followers"
       ],
-      "type": "Announce",
-      "id": "https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18"
+      "type":"Announce",
+      "id":"https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18"
     }
   ]
 }
\ No newline at end of file