]> BookStack Code Mirror - bookstack/commit
Extend /users API endpoint 2734/head
authorJascha Sticher <redacted>
Thu, 6 May 2021 09:10:49 +0000 (11:10 +0200)
committerJascha Sticher <redacted>
Thu, 6 May 2021 09:20:08 +0000 (11:20 +0200)
commit4cbd1a9eb526bcd5fe5d9446dbf27c5813042678
tree7d20a68b045e1fc7d946551d4db5aaeac7319234
parent07626669dad962856e52dddeacb1a9f000f93150
Extend /users API endpoint

* add /users/{id} to get a single user
* add variable to print fields that are otherwise hidden (e.g. email)
app/Api/ListingResponseBuilder.php
app/Auth/UserRepo.php
app/Http/Controllers/Api/ApiController.php
app/Http/Controllers/Api/UserApiController.php
routes/api.php