outlook API v2.0 getEvents并发限制
Outlook API v2.0 getEvents concurrency litmit
我正在使用 outlook api v2.0 rest api 对日历和事件执行 crud 操作并开始遇到速率限制问题。
这个例子是击中 calendarview endpoint:
GET https://outlook.office.com/api/v2.0/me/calendars/{CALENDAR_ID}/calendarview
回应HEADERS
- Rate-Limit-Limit=10000
- Rate-Limit-Remaining=9982
- Rate-Limit-Reset=2019-10-23T15:27:11.409Z
- Retry-After=1
- RateLimit-Exceeded=邮箱并发
- RateLimit-Scope=邮箱
- Transfer-Encoding=分块
- X-Proxy-BackendServerStatus=429
- X-Powered-By=ASP.NET
- X-RUM-Validated=1
回应BODY
{
"error": {
"code": "ApplicationThrottled",
"message": "Application is over its MailboxConcurrency limit."
}
}
起初我以为是每 10 分钟 10.000 个请求,但似乎我遇到了不同的请求。
错误显示您已达到邮箱并发限制。根据文档,有 4 个并发请求的限制。
您使用此 API 而不是 Microsoft Graph 的原因是什么?
https://docs.microsoft.com/en-us/graph/throttling#outlook-service-limits
我正在使用 outlook api v2.0 rest api 对日历和事件执行 crud 操作并开始遇到速率限制问题。
这个例子是击中 calendarview endpoint:
GET https://outlook.office.com/api/v2.0/me/calendars/{CALENDAR_ID}/calendarview
回应HEADERS
- Rate-Limit-Limit=10000
- Rate-Limit-Remaining=9982
- Rate-Limit-Reset=2019-10-23T15:27:11.409Z
- Retry-After=1
- RateLimit-Exceeded=邮箱并发
- RateLimit-Scope=邮箱
- Transfer-Encoding=分块
- X-Proxy-BackendServerStatus=429
- X-Powered-By=ASP.NET
- X-RUM-Validated=1
回应BODY
{
"error": {
"code": "ApplicationThrottled",
"message": "Application is over its MailboxConcurrency limit."
}
}
起初我以为是每 10 分钟 10.000 个请求,但似乎我遇到了不同的请求。
错误显示您已达到邮箱并发限制。根据文档,有 4 个并发请求的限制。
您使用此 API 而不是 Microsoft Graph 的原因是什么?
https://docs.microsoft.com/en-us/graph/throttling#outlook-service-limits