]> BookStack Code Mirror - bookstack/commit
Added chapters to the API
authorDan Brown <redacted>
Fri, 22 May 2020 23:28:41 +0000 (00:28 +0100)
committerDan Brown <redacted>
Fri, 22 May 2020 23:28:41 +0000 (00:28 +0100)
commit8a6cf0cdecf8596c7cd4809188712f575c9e8202
treee22c725e45107372964429e9d1c3b2d36a1d2b0d
parent24bad5034af0142b43c97c4dad0353bb490b54c8
Added chapters to the API
24 files changed:
app/Actions/Tag.php
app/Actions/TagRepo.php
app/Auth/User.php
app/Entities/Book.php
app/Entities/Bookshelf.php
app/Entities/Chapter.php
app/Entities/Entity.php
app/Entities/Page.php
app/Entities/Repos/PageRepo.php
app/Http/Controllers/Api/BookApiController.php [moved from app/Http/Controllers/Api/BooksApiController.php with 96% similarity]
app/Http/Controllers/Api/BookExportApiController.php [moved from app/Http/Controllers/Api/BooksExportApiController.php with 96% similarity]
app/Http/Controllers/Api/ChapterApiController.php [new file with mode: 0644]
app/Http/Controllers/Api/ChapterExportApiController.php [new file with mode: 0644]
dev/api/requests/chapters-create.json [new file with mode: 0644]
dev/api/requests/chapters-update.json [new file with mode: 0644]
dev/api/responses/books-read.json
dev/api/responses/chapters-create.json [new file with mode: 0644]
dev/api/responses/chapters-list.json [new file with mode: 0644]
dev/api/responses/chapters-read.json [new file with mode: 0644]
dev/api/responses/chapters-update.json [new file with mode: 0644]
dev/api/responses/shelves-read.json
routes/api.php
tests/Api/ChaptersApiTest.php [new file with mode: 0644]
tests/Api/TestsApi.php