WIP restful: addition of pagination

that comment ;-)