[英]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. 默认情况下,
lists
和drives
枚举都会尝试隐藏系统对象,但不幸的是,在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.