【发布时间】:2018-02-22 12:12:26
【问题描述】:
我需要获取 Office 365 日历中的所有事件。
当前的 GET 请求:
https://graph.microsoft.com/v1.0/users/{userPrincipalName}/events
调用 API 时仅返回 10 个事件
【问题讨论】:
标签: rest calendar office365 microsoft-graph-api office365api
我需要获取 Office 365 日历中的所有事件。
当前的 GET 请求:
https://graph.microsoft.com/v1.0/users/{userPrincipalName}/events
调用 API 时仅返回 10 个事件
【问题讨论】:
标签: rest calendar office365 microsoft-graph-api office365api
先统计事件个数再用$top查询参数再调用一次怎么样?
https://graph.microsoft.com/v1.0/users/me/events?$count=true
上面的 api 给你事件的数量为“@odata.count”:173(例如)然后你进行这个调用:
https://graph.microsoft.com/v1.0/users/me/events?$top=173
【讨论】: