@pmall So, if there's no "start" and "end" parameters I will get all categories without pagination? And if I have the parameters I get the list paginated?
What you mean by list paginated ? Whay you want is a slice of articles from a page no ? you can also do /api/categories?page=2 so you get the second page categories
Note: The appends() method is necessary otherwise next/previous links generated by the pager won't include the flag to indicate results should be paged.