内容纲要
1) Duplicate the default people view and rename it current_user. 2) Add a rest export route eg. rest/users/current_user. 3) Add a filter for current user. 4) Save all. 5) Retrieve the current user via http get request on example.com/rest/user/current_user?_format=hal_json
Thanks to QueenVictoria for the advice.