Comment

You can create 2 objects : the page one returning the pages and a child object returning the objects for a given page.

or you can return a single set of objects with making sure you can set the page to a very high number of object per page in your request