restful: addition of pagination

ok i will rename the variable from `page_requested` to `page`.