Skip to content

Commit 23ae332

Browse files
committed
API Docs: Sort a few example responses
1 parent 3a39f13 commit 23ae332

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
"id": 15,
23
"name": "My new book",
4+
"slug": "my-new-book",
35
"description": "This is a book created via the API",
46
"created_by": 1,
57
"updated_by": 1,
68
"owned_by": 1,
7-
"slug": "my-new-book",
89
"updated_at": "2020-01-12T14:05:11.000000Z",
9-
"created_at": "2020-01-12T14:05:11.000000Z",
10-
"id": 15
10+
"created_at": "2020-01-12T14:05:11.000000Z"
1111
}

dev/api/responses/chapters-create.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2+
"id": 74,
23
"book_id": 1,
3-
"priority": 6,
4+
"slug": "my-fantastic-new-chapter",
45
"name": "My fantastic new chapter",
56
"description": "This is a great new chapter that I've created via the API",
7+
"priority": 6,
68
"created_by": 1,
79
"updated_by": 1,
810
"owned_by": 1,
9-
"slug": "my-fantastic-new-chapter",
1011
"updated_at": "2020-05-22T22:59:55.000000Z",
1112
"created_at": "2020-05-22T22:59:55.000000Z",
1213
"id": 74,
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
"id": 14,
23
"name": "My shelf",
4+
"slug": "my-shelf",
35
"description": "This is my shelf with some books",
46
"created_by": 1,
57
"updated_by": 1,
68
"owned_by": 1,
7-
"slug": "my-shelf",
8-
"updated_at": "2020-04-10T13:24:09.000000Z",
99
"created_at": "2020-04-10T13:24:09.000000Z",
10-
"id": 14
10+
"updated_at": "2020-04-10T13:24:09.000000Z"
1111
}

0 commit comments

Comments
 (0)