NOW MANAGED ON CODEBERG
API Docs: Sort a few example responses
Thomas Kuschan23ae332c1b22
diff --git a/dev/api/responses/books-create.json b/dev/api/responses/books-create.jsonindex ede6fcc8e..12a3e9e9f 100644--- a/dev/api/responses/books-create.json+++ b/dev/api/responses/books-create.json@@ -1,11 +1,11 @@{+ "id": 15,"name": "My new book",+ "slug": "my-new-book","description": "This is a book created via the API","created_by": 1,"updated_by": 1,"owned_by": 1,- "slug": "my-new-book","updated_at": "2020-01-12T14:05:11.000000Z",- "created_at": "2020-01-12T14:05:11.000000Z",- "id": 15+ "created_at": "2020-01-12T14:05:11.000000Z"}\ No newline at end of filediff --git a/dev/api/responses/chapters-create.json b/dev/api/responses/chapters-create.jsonindex 1e6932962..aff2f4238 100644--- a/dev/api/responses/chapters-create.json+++ b/dev/api/responses/chapters-create.json@@ -1,12 +1,13 @@{+ "id": 74,"book_id": 1,- "priority": 6,+ "slug": "my-fantastic-new-chapter","name": "My fantastic new chapter","description": "This is a great new chapter that I've created via the API",+ "priority": 6,"created_by": 1,"updated_by": 1,"owned_by": 1,- "slug": "my-fantastic-new-chapter","updated_at": "2020-05-22T22:59:55.000000Z","created_at": "2020-05-22T22:59:55.000000Z","id": 74,diff --git a/dev/api/responses/shelves-create.json b/dev/api/responses/shelves-create.jsonindex 9988c782c..84caf8bdc 100644--- a/dev/api/responses/shelves-create.json+++ b/dev/api/responses/shelves-create.json@@ -1,11 +1,11 @@{+ "id": 14,"name": "My shelf",+ "slug": "my-shelf","description": "This is my shelf with some books","created_by": 1,"updated_by": 1,"owned_by": 1,- "slug": "my-shelf",- "updated_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"}\ No newline at end of file