]> BookStack Code Mirror - bookstack/commit
Added API listing filtering & cleaned ApiAuthenticate returns
authorDan Brown <redacted>
Wed, 1 Jan 2020 16:33:47 +0000 (16:33 +0000)
committerDan Brown <redacted>
Wed, 1 Jan 2020 16:33:47 +0000 (16:33 +0000)
commita7a97a53f1d7b9e180d9296cec02c42d0a987a89
tree943e61d7d95ded379b4fdda2025f7b81f0538f84
parent55abf7be241e0a81f1460da70fcebb7d8530d950
Added API listing filtering & cleaned ApiAuthenticate returns

API listing endpoint filter can be found via &filter[name]=my+book query
parameters. There are a range of operators that can be used such as
&filter[id:gte]=4
app/Api/ListingResponseBuilder.php
app/Exceptions/ApiAuthException.php
app/Exceptions/UnauthorizedException.php [new file with mode: 0644]
app/Http/Controllers/Api/ApiController.php
app/Http/Controllers/Api/BooksApiController.php
app/Http/Middleware/ApiAuthenticate.php
app/Http/Middleware/Authenticate.php
app/Http/Middleware/ChecksForEmailConfirmation.php
tests/Api/ApiListingTest.php