For some reason the documentation is not correct. The implementation of pagination is by page and not by offset as the documentation says. 