照片资源类型photo resource type

重要

Microsoft Graph 中/beta的版本下的 api 可能会发生更改。APIs under the /beta version in Microsoft Graph are subject to change. 不支持在生产应用程序中使用这些 API。Use of these APIs in production applications is not supported.

照片资源提供 driveItem 中的照片和相机属性,例如 EXIF 元数据。The photo resource provides photo and camera properties, for example, EXIF metadata, on a driveItem.

备注

目前,只有takenDateTime在 OneDrive for Business 和 SharePoint 上可用。Currently, only takenDateTime is available on OneDrive for Business and SharePoint.

属性Properties

属性Property 类型Type 说明Description
cameraMakecameraMake StringString 相机制造商。只读。Camera manufacturer. Read-only.
cameraModelcameraModel StringString 相机型号。只读。Camera model. Read-only.
exposureDenominatorexposureDenominator 双精度Double 相机的曝光时间分数的分母。只读。The denominator for the exposure time fraction from the camera. Read-only.
exposureNumeratorexposureNumerator DoubleDouble 相机的曝光时间分数的分子。只读。The numerator for the exposure time fraction from the camera. Read-only.
fNumberfNumber 双精度Double 相机的 F-stop 值。只读。The F-stop value from the camera. Read-only.
focalLengthfocalLength 双精度数Double 相机的焦距。只读。The focal length from the camera. Read-only.
isoiso Int32Int32 相机的 ISO 值。只读。The ISO value from the camera. Read-only.
orientationorientation Int16Int16 相机中的方向值。The orientation value from the camera. 在 OneDrive 个人版上是可写的。Writable on OneDrive Personal.
takenDateTimetakenDateTime DateTimeOffsetDateTimeOffset 以 UTC 时间拍摄照片的日期和时间。The date and time the photo was taken in UTC time. 只读。Read-only.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

{
  "cameraMake": "String",
  "cameraModel": "String",
  "exposureDenominator": 1000.0,
  "exposureNumerator": 1.0,
  "fNumber": 1.8,
  "focalLength": 22.5,
  "iso": 100,
  "orientation": 3,
  "takenDateTime": "String (timestamp)"
}