API Docs: Sort a few example responses
This commit is contained in:
parent
3a39f13420
commit
23ae332c1b
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
|
"id": 15,
|
||||||
"name": "My new book",
|
"name": "My new book",
|
||||||
|
"slug": "my-new-book",
|
||||||
"description": "This is a book created via the API",
|
"description": "This is a book created via the API",
|
||||||
"created_by": 1,
|
"created_by": 1,
|
||||||
"updated_by": 1,
|
"updated_by": 1,
|
||||||
"owned_by": 1,
|
"owned_by": 1,
|
||||||
"slug": "my-new-book",
|
|
||||||
"updated_at": "2020-01-12T14:05:11.000000Z",
|
"updated_at": "2020-01-12T14:05:11.000000Z",
|
||||||
"created_at": "2020-01-12T14:05:11.000000Z",
|
"created_at": "2020-01-12T14:05:11.000000Z"
|
||||||
"id": 15
|
|
||||||
}
|
}
|
|
@ -1,12 +1,13 @@
|
||||||
{
|
{
|
||||||
|
"id": 74,
|
||||||
"book_id": 1,
|
"book_id": 1,
|
||||||
"priority": 6,
|
"slug": "my-fantastic-new-chapter",
|
||||||
"name": "My fantastic new chapter",
|
"name": "My fantastic new chapter",
|
||||||
"description": "This is a great new chapter that I've created via the API",
|
"description": "This is a great new chapter that I've created via the API",
|
||||||
|
"priority": 6,
|
||||||
"created_by": 1,
|
"created_by": 1,
|
||||||
"updated_by": 1,
|
"updated_by": 1,
|
||||||
"owned_by": 1,
|
"owned_by": 1,
|
||||||
"slug": "my-fantastic-new-chapter",
|
|
||||||
"updated_at": "2020-05-22T22:59:55.000000Z",
|
"updated_at": "2020-05-22T22:59:55.000000Z",
|
||||||
"created_at": "2020-05-22T22:59:55.000000Z",
|
"created_at": "2020-05-22T22:59:55.000000Z",
|
||||||
"id": 74,
|
"id": 74,
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
|
"id": 14,
|
||||||
"name": "My shelf",
|
"name": "My shelf",
|
||||||
|
"slug": "my-shelf",
|
||||||
"description": "This is my shelf with some books",
|
"description": "This is my shelf with some books",
|
||||||
"created_by": 1,
|
"created_by": 1,
|
||||||
"updated_by": 1,
|
"updated_by": 1,
|
||||||
"owned_by": 1,
|
"owned_by": 1,
|
||||||
"slug": "my-shelf",
|
|
||||||
"updated_at": "2020-04-10T13:24:09.000000Z",
|
|
||||||
"created_at": "2020-04-10T13:24:09.000000Z",
|
"created_at": "2020-04-10T13:24:09.000000Z",
|
||||||
"id": 14
|
"updated_at": "2020-04-10T13:24:09.000000Z"
|
||||||
}
|
}
|
Loading…
Reference in New Issue