Skip to content

Get User info

Artyom Slepushko edited this page Mar 6, 2019 · 5 revisions

With this request, you can get information about the user by id and also find your personal id

@GET /api/Users/{id}

Information Value
x-api-version 1.0
Authorization Bearer access_token

Server Answer example authorized user

Requested /api/Users/

{
   "userID": 12,
   "nickName": "Yournick",
   "avatarPath": null,
   "expirience": 0,
   "account": null
}

12 this is an example of your authorized user id


Server Answer example user by id

Requested /api/Users/20

{
   "userID": 20,
   "nickName": "Yournick",
   "avatarPath": null,
   "expirience": 0,
   "account": null
}

Wiki

WebApi

Clone this wiki locally