Currently, the rest endpoints of XWIki does not allow to access information about the current user or arbitrary users. Introducing such APIs is also useful to implement alternative front-end for XWIki (see CRISTALINT-18).
Forum discussion: https://forum.xwiki.org/t/add-a-users-rest-api-endpoint/17982