REST offset pagination versus GraphQL cursor pagination for large Mattermost datasets
Goal Paginate a large Mattermost dataset through the public API while avoiding the performance degradation that offset-based queries can exhibit as page numbers increase. Constraint Mattermost REST API v4 list endpoints typically expose page and per_page parameters, but offset-based pagination scans and discards earlier rows as the offset grows. The GraphQL