mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Started work on generating API docs
This commit is contained in:
@ -6,6 +6,9 @@
|
||||
* Controllers are all within app/Http/Controllers/Api
|
||||
*/
|
||||
|
||||
Route::get('docs', 'ApiDocsController@display');
|
||||
Route::get('docs.json', 'ApiDocsController@json');
|
||||
|
||||
Route::get('books', 'BooksApiController@index');
|
||||
Route::post('books', 'BooksApiController@create');
|
||||
Route::get('books/{id}', 'BooksApiController@read');
|
||||
|
Reference in New Issue
Block a user