User

Description
Method
Parameters
API

Connection attempt
GET

Register a new user
POST
{"eml":"user-email", "pwd":"user-password", "name":"user-name"}

Activate a user by activation code from email.
GET

Login to app
POST
{"eml":"user-email", "pwd":"user-password"}

Get user API Key. If not exist, generate a new key.
POST
{"eml":"user-email", "pwd":"user-password"}

Get access Token. If not exist, generate a new token.
POST
{"key":"user-api-key"}

Get user Profile.
POST
{"token":"user-token"}

View user by id. Pass 'all' as id for list of all users.
POST
{"key":"user-api-key"}

Update user's name and location.
POST
{"key":"user-api-key", "user_name":"user-name", "user_location":"user-location"}