X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/da1cea06ca5db56a9635bf8bb01da2516d601620..refs/pull/2023/head:/routes/api.php diff --git a/routes/api.php b/routes/api.php index 7ca5e66fc..f9c27b62f 100644 --- a/routes/api.php +++ b/routes/api.php @@ -15,6 +15,10 @@ Route::get('books/{id}', 'BooksApiController@read'); Route::put('books/{id}', 'BooksApiController@update'); Route::delete('books/{id}', 'BooksApiController@delete'); +Route::get('books/{id}/export/html', 'BooksExportApiController@exportHtml'); +Route::get('books/{id}/export/pdf', 'BooksExportApiController@exportPdf'); +Route::get('books/{id}/export/plaintext', 'BooksExportApiController@exportPlainText'); + Route::get('shelves', 'BookshelfApiController@list'); Route::post('shelves', 'BookshelfApiController@create'); Route::get('shelves/{id}', 'BookshelfApiController@read');