photo resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
The photo resource provides photo and camera properties, for example, EXIF metadata, on a driveItem.
Note
Currently, only takenDateTime is available on OneDrive for Business and SharePoint.
Properties
Property | Type | Description |
---|---|---|
cameraMake | String | Camera manufacturer. Read-only. |
cameraModel | String | Camera model. Read-only. |
exposureDenominator | Double | The denominator for the exposure time fraction from the camera. Read-only. |
exposureNumerator | Double | The numerator for the exposure time fraction from the camera. Read-only. |
fNumber | Double | The F-stop value from the camera. Read-only. |
focalLength | Double | The focal length from the camera. Read-only. |
iso | Int32 | The ISO value from the camera. Read-only. |
orientation | Int16 | The orientation value from the camera. Writable on OneDrive Personal. |
takenDateTime | DateTimeOffset | The date and time the photo was taken in UTC time. Read-only. |
JSON representation
The following JSON representation shows the resource type.
{
"cameraMake": "String",
"cameraModel": "String",
"exposureDenominator": 1000.0,
"exposureNumerator": 1.0,
"fNumber": 1.8,
"focalLength": 22.5,
"iso": 100,
"orientation": 3,
"takenDateTime": "String (timestamp)"
}