User

API
Method
Parameters
Description

GET
Connection attempt

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

GET
Activate a user by activation code from email.

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

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

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

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