Skip to content

Get User info

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

This query determine if you have privileges

@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_)
```json
{
   "userID": 20,
   "nickName": "Yournick",
   "avatarPath": null,
   "expirience": 0,
   "account": null
}

Wiki

WebApi

Clone this wiki locally