File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ Returns all users in the system.
57
57
- ** Params**
58
58
None
59
59
- ** Query**
60
+ - Optional: ` profile=["true"]&dev=["true] ` (if profile is set true with dev feature flag as true, it will return currently logged-in users data.)
60
61
- Optional: ` size=[integer] ` (` size ` is the number of users requested per page, value ranges between 1-100, and the default value is 100)
61
62
- Optional: ` page=[integer] ` (` page ` can either be 0 or a positive number, and the default value is 0)
62
63
- Optional: ` search=[string] ` (` search ` is a string value for username prefix)
@@ -86,6 +87,16 @@ Returns all users in the system.
86
87
}
87
88
```
88
89
90
+ **If `/users?profile=true&dev=true`**
91
+ - **Code:** 200
92
+ - **Content:**
93
+
94
+ ```
95
+ {
96
+ <user_object>
97
+ }
98
+ ```
99
+
89
100
- **Error Response:**
90
101
- **Code:** 401
91
102
- **Content:**
You can’t perform that action at this time.
0 commit comments