Microsoft Graph API 测试版 - 检索事件 returns 意外日历的日历
Microsoft Graph API BETA - retrieving calendar for event returns unexpected calendar
我 运行 在使用 Microsoft Graph API 测试版 (https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/beta-overview)
时遇到问题
我通过调用 API 端点 (https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/event_get#http-request)
来检索事件详细信息
https://graph.microsoft.com/beta/me/beta/me/events/{id}
其中 returns 我是这里描述的事件资源:https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/event
当我之后想通过请求
获取它的日历详细信息时
https://graph.microsoft.com/beta/me/events/{id}/calendar
当直接在 https://outlook.office.com/owa/?path=/calendar/view/Month
中工作时,它会生成一个有效的日历响应,其中包含我的默认日历而不是该项目所属的日历
还有其他人 运行 处理过这个问题吗?尝试获取事件资源的日历信息时,使用 API 的正确方法是什么?
我认为这个问题与
重复
Office365 统一 API,从事件 ID 获取日历 ID (Office365 Unified API, get calendar ID from Events ID)
@GiedriusL (Office365 Unified API, get calendar ID from Events ID) 回答了
It could be OK in some scenarios, but if you are playing with group calendars, then it will not help.
我 运行 在使用 Microsoft Graph API 测试版 (https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/beta-overview)
时遇到问题我通过调用 API 端点 (https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/event_get#http-request)
来检索事件详细信息https://graph.microsoft.com/beta/me/beta/me/events/{id}
其中 returns 我是这里描述的事件资源:https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/event
当我之后想通过请求
获取它的日历详细信息时https://graph.microsoft.com/beta/me/events/{id}/calendar
当直接在 https://outlook.office.com/owa/?path=/calendar/view/Month
中工作时,它会生成一个有效的日历响应,其中包含我的默认日历而不是该项目所属的日历还有其他人 运行 处理过这个问题吗?尝试获取事件资源的日历信息时,使用 API 的正确方法是什么?
我认为这个问题与
重复Office365 统一 API,从事件 ID 获取日历 ID (Office365 Unified API, get calendar ID from Events ID)
@GiedriusL (Office365 Unified API, get calendar ID from Events ID) 回答了
It could be OK in some scenarios, but if you are playing with group calendars, then it will not help.