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 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)"
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for