![](/img/trans.png)
[英]SharePoint Site and Graph API (Beta) - can't find any pages under site and can't create page (access denied)
[英]Can no longer find SharePoint Site Assets list via Graph API
我使用Microsoft Graph API來查詢SharePoint。 直到最近,我才能通過Graph API找到“Site Assets”文檔庫。 我再也找不到清單了。
我試過什么問題:
https://graph.microsoft.com/v1.0/sites/{siteid}/lists?select=weburl
沒有URL匹配站點資產列表。 下一個:
https://graph.microsoft.com/v1.0/sites/{siteid}/drives?select=weburl
同樣,沒有URL匹配站點資產列表。 在過去,我始終能夠找到第二個查詢使用的資產。 我將兩個查詢切換為測試版,也沒有結果。
我已經查看了Graph API中的更改日志,但沒有列出相關內容。
我如何(現在)在任何SharePoint站點上找到“站點資產”列表?
默認情況下, lists
和drives
枚舉都會嘗試隱藏系統對象,但不幸的是,在SharePoint中這樣做是非常重要的。 因此,一些系統清單仍然存在,直到最近我們確定它們沒有。
您仍然可以看到它們,但是您需要通過請求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.