ItemActivityTimeSet 资源类型

命名空间:microsoft.graph

重要

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

ItemActivityTimeSet 资源提供有关项上某个 活动发生时间的信息。

JSON 表示形式

{
  "observedDateTime": "String (timestamp)",
  "recordedDateTime": "String (timestamp)"
}

属性

属性 类型 Description
observedDateTime DateTimeOffset 在观察到要发生活动时。
recordedDateTime DateTimeOffset 在服务上记录观察时。

对于离线协作方案来说,观察记录 时间差异尤为重要。 如果用户在离线时对文件添加注释,则会将他们添加注释的时间设置为 observedDateTime。 稍后,当用户重新连接到云并上传更改后,则会将稍后的时间设置为 recordedDateTime

注解

项活动记录当前仅在 SharePoint 和 OneDrive for Business 上可用。