Microsoft Graph API url 与 SharePoint ALM REST API
Microsoft Graph API url vs SharePoint ALM REST API
Microsoft graph urls 和 SharePoint rest api urls 是这样的
https://graph.microsoft.com/v1.0/sites - https://{tenant-name}.sharepoint.com/_api/v2.0/sites
https://graph.microsoft.com/v1.0/drives - https://{tenant-name}.sharepoint.com/_api/v2.0/drives
https://graph.microsoft.com/v1.0/drive - https://{tenant-name}.sharepoint.com/_api/v2.0/drive
https://graph.microsoft.com/v1.0/lists - https://{tenant-name}.sharepoint.com/_api/v2.0/lists
我使用图表 api 为共享点生成访问令牌,并且需要知道以下
的对应图表 url
https://{tenant-name}.sharepoint.com/_api/web/{scope}appcatalog/AvailableApps
比如'https://graph.microsoft.com/v1.0/sites/web/tenantappcatalog/'
目前,图api没有这样的端点。
您必须使用 sharepoint rest api 来获取信息:https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins?tabs=sprest
Microsoft graph urls 和 SharePoint rest api urls 是这样的
https://graph.microsoft.com/v1.0/sites - https://{tenant-name}.sharepoint.com/_api/v2.0/sites
https://graph.microsoft.com/v1.0/drives - https://{tenant-name}.sharepoint.com/_api/v2.0/drives
https://graph.microsoft.com/v1.0/drive - https://{tenant-name}.sharepoint.com/_api/v2.0/drive
https://graph.microsoft.com/v1.0/lists - https://{tenant-name}.sharepoint.com/_api/v2.0/lists
我使用图表 api 为共享点生成访问令牌,并且需要知道以下
的对应图表 urlhttps://{tenant-name}.sharepoint.com/_api/web/{scope}appcatalog/AvailableApps
比如'https://graph.microsoft.com/v1.0/sites/web/tenantappcatalog/'
目前,图api没有这样的端点。
您必须使用 sharepoint rest api 来获取信息:https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins?tabs=sprest