mattermost4j
mattermost4j copied to clipboard
Feature Proposal: Get ALL records when Pager is omitted
ChannelApi#getPublicChannelsForTeam(String) returns first 60 channels only.
All of Mattermost4J's API that have Pager parameter is same behavior. But Pager is optional. So, we should change behavior when Pager is omitted.
Pagerをパラメータに指定可能なMattermost4JのAPIはすべて同じ動作(60レコードだけ取得する)だが、Pagerを指定しない場合は全件取得された方が便利なのでそのように変更するべき。(もし変更しないのであればJavadocに明記する)
One point:
Mattermost Server API returns up to 60 records when per_page
is not set.