improved

Employee API: pagination

Added pagination to the GET employees endpoint to make fetching larger sets of employee data easier. This is not a breaking change – all requests that don't contain the offset and limit parameter will still pull all of employees.

The total number of elements, the current page as well as the total number of all pages will now be available in the "metadata" block:

{
	"success":true
		"metadata":{
			"total_elements":3
			"current_page":0
			"total_pages":3
		}
	"offset":0
	"limit":1
	"data":[
		0:{...}
	]
}

Find more information in the API reference.