Added "Getting Started" API docs

This commit is contained in:
Dan Brown
2020-01-18 14:03:11 +00:00
parent 64455307b1
commit b9fb655b60
9 changed files with 206 additions and 36 deletions

View File

@ -35,7 +35,7 @@ class BooksApiController extends ApiController
/**
* Get a listing of books visible to the user.
*/
public function index()
public function list()
{
$books = Book::visible();
return $this->apiListingResponse($books, [