Web API: users (get)

This request retrieves the users linked to the requested database.

Parameters

db
Database containing the users

token
The user's authorization token

Example

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

Response

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

The response contains the array of all users, with their name and the ID of their D-One account.