【发布时间】:2020-06-11 20:21:53
【问题描述】:
我尝试将图形 API 用于报告 https://docs.microsoft.com/en-us/graph/api/reportroot-getsharepointsiteusagestorage?view=graph-rest-1.0 这将返回所需的输出,但以 CSV 格式。
GET /reports/getSharePointSiteUsageStorage(period='{period_value}')
CSV 中的输出字段是
Report Refresh Date,Site Id,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Page View Count,Visited Page Count,Storage Used (Byte),Storage Allocated (Byte),Root Web Template,Owner Principal Name,Report Period
我只关心 Site Id、Storage Used (Byte)、Storage Allocated (Byte) 字段。有没有办法将此信息作为 JSON 输出获取?或者有没有办法使用其他 API 获取这些信息?
【问题讨论】:
标签: sharepoint microsoft-graph-api