Skip to content

The api that the front end user list will be using

Notifications You must be signed in to change notification settings

kasdimos/user-list-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

user-list

A table that displays a list of users with paging, sorting and filtering capabilities

API

Insert a user:

POST /newUser
{
    "name": "Nick",
    "email": "[email protected]",
    "role": "user"
}

Get users (the limit is 20 users by default):

GET /users

Get users (change limit):

GET /users?limit=50

Get users (second page):

GET /users?page=2

Get users (changed limit, second page):

GET /users?limit=50&page=2

Get users (sorting):

GET /users?sortby=name
GET /users?sortby=email
GET /users?sortby=role
GET /users?sortby=signup
GET /users?sortby=lastLogin
GET /users?sortby=status

Get users (filter by name or email):

GET /users?filter=nick

Get users (changed limit, second page, sort by name, and filter):

GET /users?limit=50&page=2&sortby=name&filter=ni

About

The api that the front end user list will be using

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published