回复:图表中 $search 的 275 条记录限制 API

RE: 275 record limit for $search in Graph API

我们一直希望使用 Graph API 的 $search 功能(即 received>05/06/2020)来查找 Outlook 邮件,但搜索结果似乎仅限于 275 条记录。这是一个已知的限制吗?没有办法接收到所有匹配的记录,为什么会有skipToken呢?

使用 $filter(即 ReceivedDateTime gt 2020-05-06)会 return 所有匹配的邮件,但没有 $filter 方法可以通过匹配收件人或抄送来查找电子邮件。

谢谢

You can search messages based on a value in specific message properties. The results of the search are sorted by the date and time that the message was sent. A $search request returns up to 250 results.

正如 official article 所说,一个 $search 请求 returns 最多 250 个结果 。所以它是图 api.

中 $search 的限制

对于skipToken

Some requests return multiple pages of data either due to server-side paging or due to the use of the $top parameter to limit the page size of the response. Many Microsoft Graph APIs use the skipToken query parameter to reference subsequent pages of the result.