Summary
Be consistent with query parameter names: use `per_page` instead of `pageSize` for the Thread API. The server will continue to support the `pageSize` parameter until version 6.0 of the server becomes the minimum server version required for the mobile app.
Related PRs:
[MM-36792] limit number of threads returned from SQL store mattermost-server#18260
[MM-36792] Consistent query param names mattermost-webapp#8700
Ticket Link
https://mattermost.atlassian.net/browse/MM-36792