Support paginated result

* update test
* update doc