| title | photo resource type |
|---|---|
| description | The photo resource provides photo and camera properties, for example, EXIF metadata, on a driveItem. |
| ms.date | 09/10/2017 |
| ms.localizationpriority | medium |
| author | spgraph-docs-team |
| ms.subservice | onedrive |
| doc_type | resourcePageType |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
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.
| 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. |
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)"
}