Microsoft Graph API 有时返回的通道消息少于预期

问题描述 投票:0回答:1

我使用 Microsoft Graph API 在团队频道中获取消息。

GET https://graph.microsoft.com/v1.0/teams/f25d16eb-34d2-4028-9598-a3ada02f8ed6/channels/19:[email protected]/messages?$top=50&$expand=replies

但是,我发现返回的消息数量可能少于频道中的消息总数。

(例如:我总共有 36 条消息,但有时收到 35、28 条消息)

我确信

nextLink
deltaLink
是空的。

我写了一个脚本,重复调用API 50次,出现这个问题8次。

我还尝试了从 5 到 50 的不同

$top
值,或删除
$expand
查询,但问题仍然存在

microsoft-graph-api microsoft-teams microsoft-graph-teams
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.