mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Extend /users API endpoint
* add /users/{id} to get a single user * add variable to print fields that are otherwise hidden (e.g. email)
This commit is contained in:
@ -46,3 +46,4 @@ Route::put('shelves/{id}', 'BookshelfApiController@update');
|
||||
Route::delete('shelves/{id}', 'BookshelfApiController@delete');
|
||||
|
||||
Route::get('users', 'UserApiController@list');
|
||||
Route::get('users/{id}', 'UserApiController@read');
|
||||
|
Reference in New Issue
Block a user