Performance improvement

Api: Graphql

Pagination internally uses pagination for better performance. The change is transparent, only the content of the opaque cursors startPage and endPage is changed.