-
Notifications
You must be signed in to change notification settings - Fork 0
GET User By ID
Ksenyia edited this page May 18, 2016
·
1 revision
Is available to the user with admin rights only.
Resource Properties
Property | Description |
---|---|
id | A string that uniquely identifies the user. |
Resource URI
users/{id}
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/569976c21dad48f614cc8126
Response
HTTP Status Code 200
{
_id: "569976c21dad48f614cc8126",
first_name: "User",
last_name: "User",
username: "user",
email: "[email protected]",
salt: "9syklqiEoKTnyMMNep5",
created_by: "569976c21dad48f614cc8125",
creation_date: "2016-03-28T06:04:50.669Z",
role: [
"user"
]
}