]> BookStack Code Mirror - bookstack/commitdiff
API Docs: Add Missing Fields in Example Responses 4344/head
authorThomas Kuschan <redacted>
Fri, 30 Jun 2023 07:36:46 +0000 (09:36 +0200)
committerThomas Kuschan <redacted>
Fri, 30 Jun 2023 07:36:46 +0000 (09:36 +0200)
dev/api/responses/chapters-read.json
dev/api/responses/pages-list.json
dev/api/responses/shelves-read.json

index 9565c3989729fa30ca1d2a948f2bfeac5fe6f461..5f4de85f107ca6196d6fbedb203b7238bb40bdb9 100644 (file)
@@ -42,6 +42,7 @@
       "updated_at": "2019-08-26T14:32:59.000000Z",
       "created_by": 1,
       "updated_by": 1,
+      "owned_by": 1,
       "draft": false,
       "revision_count": 2,
       "template": false,
@@ -59,6 +60,7 @@
       "updated_at": "2019-06-06T12:03:04.000000Z",
       "created_by": 3,
       "updated_by": 3,
+      "owned_by": 1,
       "draft": false,
       "revision_count": 1,
       "template": false,
index 8615294d3030a8e0eaf473e758a0588d2298dd6f..8f95c498524b12556cebd0b2a51ed56200c20ed7 100644 (file)
@@ -8,6 +8,7 @@
                        "slug": "how-to-create-page-content",
                        "priority": 0,
                        "draft": false,
+                       "revision_count": 3,
                        "template": false,
                        "created_at": "2019-05-05T21:49:58.000000Z",
                        "updated_at": "2020-07-04T15:50:58.000000Z",
@@ -25,6 +26,7 @@
                        "slug": "how-to-use-images",
                        "priority": 2,
                        "draft": false,
+                       "revision_count": 3,
                        "template": false,
                        "created_at": "2019-05-05T21:53:30.000000Z",
                        "updated_at": "2019-06-06T12:03:04.000000Z",
@@ -42,6 +44,7 @@
                        "slug": "drawings-via-drawio",
                        "priority": 3,
                        "draft": false,
+                       "revision_count": 3,
                        "template": false,
                        "created_at": "2019-05-05T21:53:49.000000Z",
                        "updated_at": "2019-12-18T21:56:52.000000Z",
index 8debaae729a35e8fa244adc39536536dcd97bcab..802045bd8322f378fe823cadb2515b0e852c7f3f 100644 (file)
     {
       "id": 5,
       "name": "Sint explicabo alias sunt.",
-      "slug": "jbsQrzuaXe"
+      "slug": "jbsQrzuaXe",
+      "description": "Hic forum est.",
+      "created_at": "2020-04-10T13:31:04.000000Z",
+      "updated_at": "2020-04-10T13:31:04.000000Z",
+      "created_by": 1,
+      "updated_by": 1,
+      "owned_by": 1
     },
     {
       "id": 1,
       "name": "BookStack User Guide",
-      "slug": "bookstack-user-guide"
+      "slug": "bookstack-user-guide",
+      "description": "The Bookstack User Guide Book.",
+      "created_at": "2020-04-10T15:30:32.000000Z",
+      "updated_at": "2020-04-13T09:01:04.000000Z",
+      "created_by": 1,
+      "updated_by": 2,
+      "owned_by": 1
     },
     {
       "id": 3,
       "name": "Molestiae doloribus sint velit suscipit dolorem.",
-      "slug": "H99QxALaoG"
+      "slug": "H99QxALaoG",
+      "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+      "created_at": "2020-04-10T13:31:04.000000Z",
+      "updated_at": "2020-04-10T13:31:04.000000Z",
+      "created_by": 1,
+      "updated_by": 1,
+      "owned_by": 1
     }
   ]
 }
\ No newline at end of file
Morty Proxy This is a proxified and sanitized view of the page, visit original site.