Link 已更改 - 在哪里可以找到 Outlook office REST API 范围的列表?
Link changed - where can I find a list of Outlook office REST API scopes?
我目前正在使用旧的 Outlook 办公室 REST API v2 通过 oauth 访问 outlook.com 用户的邮件(由于缺少某些所需的功能,而不是 Microsoft Graph)
对于身份验证范围,它需要像
这样的值
https://outlook.office.com/mail.readwrite
https://outlook.office.com/mail.readwrite.shared
对比 Microsoft Graph 的
Mail.ReadWrite
Mail.ReadWrite.Shared
不幸的是,本应提供受支持范围的完整列表的文档 https://dev.outlook.com/restapi/getstarted 已将其链接更改为指向 Microsoft Graph 的文档(这根本没有帮助)
THE FOLLOWING IS FROM THE ABOVE LINK, AND REDIRECTS TO THE BELOW LINK
scope: a space-delimited list of access scopes that your app requires. For a full list of Outlook scopes, see Authenticate Office APIs using the "v2.0" endpoints [https://developer.microsoft.com/en-us/graph/docs/authorization/auth_overview]
我不知道 Outlook 范围的全局列表,但它们应该与每个 REST 方法一起记录在 Minimum Requires Scopes 下。
我目前正在使用旧的 Outlook 办公室 REST API v2 通过 oauth 访问 outlook.com 用户的邮件(由于缺少某些所需的功能,而不是 Microsoft Graph)
对于身份验证范围,它需要像
这样的值https://outlook.office.com/mail.readwrite
https://outlook.office.com/mail.readwrite.shared
对比 Microsoft Graph 的
Mail.ReadWrite
Mail.ReadWrite.Shared
不幸的是,本应提供受支持范围的完整列表的文档 https://dev.outlook.com/restapi/getstarted 已将其链接更改为指向 Microsoft Graph 的文档(这根本没有帮助)
THE FOLLOWING IS FROM THE ABOVE LINK, AND REDIRECTS TO THE BELOW LINK scope: a space-delimited list of access scopes that your app requires. For a full list of Outlook scopes, see Authenticate Office APIs using the "v2.0" endpoints [https://developer.microsoft.com/en-us/graph/docs/authorization/auth_overview]
我不知道 Outlook 范围的全局列表,但它们应该与每个 REST 方法一起记录在 Minimum Requires Scopes 下。