Arguments
user_id
token
Response
id — Internal user ID in the system
site_logo — Custom logo is displayed in the header
city — options
―26063‖ St.-Petersburg;
— 27612‖ Moscow
country — Contry (text field)
access — options:
user;
admin;
viewer
type — options:
public;
private;
avatar — User avatar
login — Login to access
email – User e-mail
fio — User initials
status — Status of the response. Error or success.
message — Optional field. Transmitted only if status «Error» and contains a description of the «error».
Example: http://168.63.82.20/api/userinfo?user_id=161&token=ebbf23afc227a20a2979818653fff75b
Response (JSON):
{
"id":"161",
"site_logo":"",
"avatar":"http:\/\/168.63.82.20\/upload\/avatars\/b1f59ed3b9c396ed5b21cf14bdca5284.jpg",
"city":"13791",
"country":"153",
"access":"user",
"type":"",
"email":"developer@developer.com",
"fio":"Developer",
"login":"developer",
"status":"success"
}