来自图API的SharePoint Web详细信息 [英] SharePoint web Details from graph api

查看:75
本文介绍了来自图API的SharePoint Web详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想使用图形api获取所有网络文件的数量和存储大小。图表api中是否有api可用于获取所有网页。

I would like to get the all web files count and storage size using graph api . Is there any api available in graph api to get all the webs.

注意:我只能使用下面的图表api获取网站集详细信息。

Note : I can get only the site collection details using the below graph api.

https://graph.microsoft。 com / beta / reports / getSharePointSiteUsageDetail(period ='d30')?$ top = 999& $ format = application / json  




谢谢,Kaviya Balasubramanian | Microsoft MVP - Office服务器和服务(请记住在帮助您的帖子上单击"标记为答案")

Thanks, Kaviya Balasubramanian | Microsoft MVP - Office Servers and Services (Please remember to click "Mark as Answer" on the post that helps you)

推荐答案

使用Microsoft Graph API官方文档检查,只有站点级别的API关注而不是Web:

Checked with Microsoft Graph API Official Document, there is only API focus on Site level not Web:

在Microsoft Graph中使用SharePoint网站

解决方法是我们可以使用SharePoint Rest API访问Web文件夹中的文件:

Workaround is that we can use SharePoint Rest API to access the files in the web folder:

使用带有REST的文件夹和文件

谢谢

最好的问候


这篇关于来自图API的SharePoint Web详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆