Returns an array of user
objects that contains only the user specified by the id
parameter, if it exists.
{server_url}/users/{id}
Parameter name | Type | Description |
---|---|---|
id |
number | The record ID of the user to return |
None
None
[
{
"last_name": "Smith",
"first_name": "Ferdinand",
"email": "f.smith@example.com",
"id": 1
}
]
Status value | Return status | Description |
---|---|---|
200 | Success | Requested data returned successfully |
404 | Error | Specified user record not found |
ECONNREFUSED | N/A | Service is offline. Start the service and try again. |