endpoint users:
url: /users
method: GET
params:
page
- description: the current page of results
- value type:
- Integers positive numbers
- Cannot be 0
- Can be null or undefined (default value = 1)
per_page:
- description: the amount of results
- value type:
- Integers positive numbers
- Cannot be 0
- Can be null or undefined (default value = 15)
sort_column:
- description: the order of results based on a result column name
- value type:
- Text string
- Can be null or undefined
search:
- description: a text string to filter all the results
- value type:
- Text string
- Can be null or undefined
search_column:
- description: a text string filter that affects specific columns to filter all the results
- value type:
- Text string
- Stringified array with format: [columName1, columnSearh1, columName2, columnSearh2, ...]
- Can be null or undefined
status:
- description: numbers to filter results by 'status' column
- value type:
- Numbers separated with commas
- Can be null or undefined
url_sample:
/users?page=2&per_page=20&sort_column=names&search=louis&search_column=["names","flores","role","supervisor"]&status=0,3