-
Notifications
You must be signed in to change notification settings - Fork 0
GET All Users
Ksenyia edited this page May 18, 2016
·
2 revisions
Getting list of the users. Is available to the user with admin rights only.
Resource URI
users
Response Attribute
[
{
_id: String,
first_name: String,
last_name: String,
username: String,
email: String,
salt: String,
created_by: String,
creation_date: String,
role: Array
}
]
HTTP GET
Default Request
curl -GET http://end-point-uri/users
Response
HTTP Status Code 200
[
{
_id: "569976c21dad48f614cc8126",
first_name: "User",
last_name: "User",
username: "user",
email: "email@resourcegovernance.org",
salt: "9syklqiEoKTnyMMNep5",
created_by: "569976c21dad48f614cc8125",
creation_date: "2016-03-28T06:04:50.669Z",
role: [
"user"
]
},
...
]