Commit c68d00e6 authored by Ben Bodenmiller's avatar Ben Bodenmiller Committed by Achilleas Pipinellis

Define Active users

parent b1070678
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
## List users ## List users
Active users = Total accounts - Blocked users
Get a list of users. Get a list of users.
This function takes pagination parameters `page` and `per_page` to restrict the list of users. This function takes pagination parameters `page` and `per_page` to restrict the list of users.
...@@ -49,9 +47,9 @@ For example: ...@@ -49,9 +47,9 @@ For example:
GET /users?username=jack_smith GET /users?username=jack_smith
``` ```
In addition, you can filter users based on states eg. `blocked`, `active` In addition, you can filter users based on the states `blocked` and `active`.
This works only to filter users who are `blocked` or `active`. It does not support `active=false` or `blocked=false`. The list of active users
It does not support `active=false` or `blocked=false`. is the total number of users minus the blocked users.
```plaintext ```plaintext
GET /users?active=true GET /users?active=true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment