Getting the list of users
GET /api/v1/user/list
PARAMS
token: user token (needs ADMIN capability),
count: integer between 1 and 100 (default: 20)
offset: integer offset to start from
RETURN
{
username: string username,
email: string email,
notifications: boolean value,
}
Getting details from a user
GET /api/v1/user
PARAMS
token: user token
RETURN information about self
username: string value,
email: string value,
is_admin: boolean value,
notifications: boolean value