Skip to content

Commit d293171

Browse files
committed
API Docs: Add Missing Fields in Example Responses
1 parent 174cd5a commit d293171

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

dev/api/responses/chapters-read.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"updated_at": "2019-08-26T14:32:59.000000Z",
4343
"created_by": 1,
4444
"updated_by": 1,
45+
"owned_by": 1,
4546
"draft": false,
4647
"revision_count": 2,
4748
"template": false,
@@ -59,6 +60,7 @@
5960
"updated_at": "2019-06-06T12:03:04.000000Z",
6061
"created_by": 3,
6162
"updated_by": 3,
63+
"owned_by": 1,
6264
"draft": false,
6365
"revision_count": 1,
6466
"template": false,

dev/api/responses/pages-list.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"slug": "how-to-create-page-content",
99
"priority": 0,
1010
"draft": false,
11+
"revision_count": 3,
1112
"template": false,
1213
"created_at": "2019-05-05T21:49:58.000000Z",
1314
"updated_at": "2020-07-04T15:50:58.000000Z",
@@ -25,6 +26,7 @@
2526
"slug": "how-to-use-images",
2627
"priority": 2,
2728
"draft": false,
29+
"revision_count": 3,
2830
"template": false,
2931
"created_at": "2019-05-05T21:53:30.000000Z",
3032
"updated_at": "2019-06-06T12:03:04.000000Z",
@@ -42,6 +44,7 @@
4244
"slug": "drawings-via-drawio",
4345
"priority": 3,
4446
"draft": false,
47+
"revision_count": 3,
4548
"template": false,
4649
"created_at": "2019-05-05T21:53:49.000000Z",
4750
"updated_at": "2019-12-18T21:56:52.000000Z",

dev/api/responses/shelves-read.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,35 @@
4343
{
4444
"id": 5,
4545
"name": "Sint explicabo alias sunt.",
46-
"slug": "jbsQrzuaXe"
46+
"slug": "jbsQrzuaXe",
47+
"description": "Hic forum est.",
48+
"created_at": "2020-04-10T13:31:04.000000Z",
49+
"updated_at": "2020-04-10T13:31:04.000000Z",
50+
"created_by": 1,
51+
"updated_by": 1,
52+
"owned_by": 1
4753
},
4854
{
4955
"id": 1,
5056
"name": "BookStack User Guide",
51-
"slug": "bookstack-user-guide"
57+
"slug": "bookstack-user-guide",
58+
"description": "The Bookstack User Guide Book.",
59+
"created_at": "2020-04-10T15:30:32.000000Z",
60+
"updated_at": "2020-04-13T09:01:04.000000Z",
61+
"created_by": 1,
62+
"updated_by": 2,
63+
"owned_by": 1
5264
},
5365
{
5466
"id": 3,
5567
"name": "Molestiae doloribus sint velit suscipit dolorem.",
56-
"slug": "H99QxALaoG"
68+
"slug": "H99QxALaoG",
69+
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
70+
"created_at": "2020-04-10T13:31:04.000000Z",
71+
"updated_at": "2020-04-10T13:31:04.000000Z",
72+
"created_by": 1,
73+
"updated_by": 1,
74+
"owned_by": 1
5775
}
5876
]
5977
}

0 commit comments

Comments
 (0)