简体   繁体   English

无法再通过Graph API找到SharePoint Site Assets列表

[英]Can no longer find SharePoint Site Assets list via Graph API

I'm used the Microsoft Graph API to query SharePoint. 我使用Microsoft Graph API来查询SharePoint。 Until recently I was able to find the "Site Assets" document library via the Graph API. 直到最近,我才能通过Graph API找到“Site Assets”文档库。 I can no longer find the list. 我再也找不到清单了。

What queries have I tried: 我试过什么问题:

https://graph.microsoft.com/v1.0/sites/{siteid}/lists?select=weburl

No URL matches the list of Site Assets. 没有URL匹配站点资产列表。 Next: 下一个:

https://graph.microsoft.com/v1.0/sites/{siteid}/drives?select=weburl

Again no URL matches the list of Site Assets. 同样,没有URL匹配站点资产列表。 In the past I was always able to find the assets used the second query. 在过去,我始终能够找到第二个查询使用的资产。 I switched both queries to beta, also without result. 我将两个查询切换为测试版,也没有结果。

I've looked at the changelog in the Graph API, but nothing relevant is listed. 我已经查看了Graph API中的更改日志,但没有列出相关内容。

How can I (nowadays) find the "Site Assets" list on any SharePoint Site? 我如何(现在)在任何SharePoint站点上找到“站点资产”列表?

By default both the lists and drives enumerations attempt to hide system objects, but unfortunately doing so in SharePoint is non-trivial. 默认情况下, listsdrives枚举都会尝试隐藏系统对象,但不幸的是,在SharePoint中这样做是非常重要的。 As a result some system lists were still coming through until recently when we made sure they didn't. 因此,一些系统清单仍然存在,直到最近我们确定它们没有。

You can still see them, but you'll need to explicitly ask for them by requesting the system facet. 您仍然可以看到它们,但是您需要通过请求system方面明确地询问它们。

https://graph.microsoft.com/v1.0/sites/{siteid}/lists?select=weburl,system
https://graph.microsoft.com/v1.0/sites/{siteid}/drives?select=weburl,system

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SharePoint 站点和图形 API(测试版)- 在站点下找不到任何页面并且无法创建页面(访问被拒绝) - SharePoint Site and Graph API (Beta) - can't find any pages under site and can't create page (access denied) 通过图表 API 获得 Sharepoint 列表的列信息:得到相互冲突的结果 - Column info for a Sharepoint list via Graph API: getting conflicting results 无法通过图表 API 对 sharepoint 列表文件夹应用过滤器,自定义列也不会通过图表 API 出现 - Not able to apply filter on sharepoint list folder via Graph API , also custom columns are not coming via Graph API 我们可以在不使用网站选项卡的情况下借助 Graph API 将 Sharepoint 站点的组列表附加到 Microsoft Teams 选项卡中吗 - Can we attach Sharepoint Site's List of a Group into Microsoft Teams Tab with the Help of Graph API without using website Tab 如何通过Microsoft Graph API访问Sharepoint站点的文档库? - How to access Sharepoint site's document library via Microsoft Graph API? 如何通过Microsoft Graph API迭代Sharepoint站点的文档库项目? - How to iterate Sharepoint site's document library items via Microsoft Graph API? SharePoint 图表 API 加入现有团队站点 - SharePoint Graph API to join an existing Team Site SharePoint 使用图表 API 列出“NoCrawl” - SharePoint List 'NoCrawl' with Graph API 如何通过Microsoft Graph API访问Sharepoint通讯站点的文档库? - How to access Sharepoint communication site's document library via Microsoft Graph API? Microsoft Graph API - 仅共享 Sharepoint 站点 - Microsoft Graph API - Share Sharepoint site only
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM