API v1 spec

This is still a work-in-progress, but any feedback is more than welcome.
@philips You then have to share pageTokens between all API nodes, right?