WIP restful: addition of pagination

or at least `assert (page < 1) and (page > pagination.pages)`