officeGraphInsights 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

使用 itemInsights 替代 officeGraphInsights 以访问 insights API。

officeGraphInsights 向后兼容 insights API 的早期版本。 它是 itemInsights 的基础类型。

Insights 是使用高级分析和机器学习技术计算的关系。 例如,你可以标识与用户有关的 OneDrive for Business 文档趋势。

Insights 由以下 API 返回:

  • 趋势 - 返回与用户有关的 OneDrive for Business 和 SharePoint 网站趋势文档。
  • 使用 - 返回用户查看或修改过的文档。 包括用户在 OneDrive for Business 和 SharePoint 中使用的文档。
  • 分享 - 返回与用户共享或由用户共享的文档。 文档可以作为 OneDrive for Business 和 SharePoint 的 URL、文件附件、参考附件共享,这些可以在 Outlook 邮件和会议中找到。

每个见解都返回 resourceVisualizationresourceReference 复杂值类型 (CVT)。 resourceVisualization CVT 包含诸如 titlepreviewImageUrl 之类的属性。 Microsoft 使用可视化属性来渲染 Office Delve 等体验中的文件。

关系

关系 类型 说明
趋势 trending 集合 从派生类型 itemInsights 访问此属性。
使用的内容 usedInsight 集合 从派生类型 itemInsights 访问此属性。
shared sharedInsight 集合 从派生类型 itemInsights 访问此属性。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "id": "string",
  "trending": [ { "@odata.type": "microsoft.graph.trending" } ],
  "used": [ { "@odata.type": "microsoft.graph.used" } ],
  "shared": [ { "@odata.type": "microsoft.graph.shared" } ]
}