updated pagination for API pre-alpha v0.1