restful: addition of pagination

23: D204 Expected 1 blank line *after* class docstring, found 0
26: D102 Docstring missing
41: D102 Docstring missing