Namespace: users

users

Source:

Methods

(static) index(optionsopt, done)

Get all users

Parameters:
Name Type Attributes Description
options Object <optional>
options
Properties
Name Type Attributes Description
params.older Number <optional>
Filter parameter: get only records older than the provided id
params.newer Number <optional>
Filter parameter: get only records newer than the provided id
params.per_page Number <optional>
Filter parameter: define the amount of records sent per call (max 50)
params.order String <optional>
Filter parameter: define the order you want to receive the records (does not affect older/newer behaviour). Valid values are asc or desc.
done done Callback
Source:
See:

(static) show(options, done)

Get details of a user

Parameters:
Name Type Description
options Object options
Properties
Name Type Description
id Number The ID or username of the User you want to fetch
done done Callback
Source:
See: