users (get)

The request allows to recover users connected to the requested database.

Parameters

dbDatabase containing users
tokenUser authorization token

Example

https://web.nios4.com/ws/?action=sync&db=db&token=00000000

Reply

{
  "error": false,
  "users": [
    {
      "username": "user1",
      "id": "1"
    },
    {
      "username": "user2",
      "id": "2"
    },...]
}

The reply contains the array of all users reporting their name and the ID of their D-One account.