The user_login call is the first call to make in order to retrieve the user’s main data and the list of databases they can access. This list includes both the databases the user administers and those the user has been invited to.
Parameters
email
The user's email used to create the D-One account
password
The D-One account password
token
The access token. Optional, can be used instead of the credentials.
Example
https://web.nios4.com/ws/?action=user_login&email=xx@xx.xx&password=xxx
Response
{
"error": false, Error flag
"user": {
"id": "1", User global ID
"email": "xx@xx.com", User email
"token": "00000000" User token
},
"db": [
{
"name": "crm", Unique database name
"label": "My Crm", Database label
"seed": "CRM-ES" Database seed
}
]
}
The user’s global ID is the unique number that identifies them on the D-One servers.
The db key contains all of the user’s own databases and those where they are a guest. For each one it shows the name automatically assigned by the server, the label and the type of seed that identifies its kind.
