文档
测试

文件信息

GET
https://ovoiii.com/files/{ 文件ID }/metadata

接口描述

获取到图像的详细信息 例:https://ovoiii.com/files/1/metadata

响应成功参数

参数名
类型
描述
必填
id
int
示例:1
必填
size
int
示例:4009797
必填
width
int
示例:5511
必填
height
int
示例:3674
必填
metadata
object
数据字典
必填
ISO
int
示例:800
必填
Make
string
示例:FUJIFILM
必填
Flash
int
示例:0
必填
Model
string
示例:X-E3
必填
Artist
string
示例:
必填
FNumber
int
示例:2
必填
LensInfo
array
数据列表
必填
LensMake
string
示例:FUJIFILM
必填
Software
string
示例:Photos 4.0
必填
Copyright
string
示例:
必填
LensModel
string
示例:XF23mmF2 R WR
必填
Sharpness
int
示例:0
必填
ColorSpace
int
示例:1
必填
CreateDate
int
示例:1555268226
必填
ModifyDate
int
示例:1555268226
必填
FocalLength
int
示例:23
必填
LightSource
int
示例:0
必填
Orientation
int
示例:1
必填
XResolution
int
示例:72
必填
YResolution
int
示例:72
必填
ExposureMode
int
示例:0
必填
ExposureTime
float
示例:0.009523809523809525
必填
MeteringMode
int
示例:5
必填
SerialNumber
string
示例:7DW10875
必填
WhiteBalance
int
示例:0
必填
ApertureValue
int
示例:2
必填
SensingMethod
int
示例:2
必填
ExifImageWidth
int
示例:5511
必填
ResolutionUnit
int
示例:2
必填
BrightnessValue
float
示例:2.05
必填
ExifImageHeight
int
示例:3674
必填
ExposureProgram
int
示例:2
必填
SensitivityType
int
示例:1
必填
DateTimeOriginal
int
示例:1555268226
必填
LensSerialNumber
string
示例:7CA46314
必填
MaxApertureValue
int
示例:2
必填
SceneCaptureType
int
示例:0
必填
ShutterSpeedValue
float
示例:6.76
必填
ExposureCompensation
float
示例:0.67
必填
SubjectDistanceRange
int
示例:0
必填
FocalPlaneXResolution
int
示例:2564
必填
FocalPlaneYResolution
int
示例:2564
必填
FocalLengthIn35mmFormat
int
示例:35
必填
FocalPlaneResolutionUnit
int
示例:3
必填

说明 / 示例

服务端响应回来的数据里面,有这个文件的 id,文件的大小,宽度,高度, 还有 metadata,这里面有拍摄照片用的设备的品牌,还有具体的型号,使用的镜头这些数据。 比如 Make 是拍摄这张照片用的设备的品牌,FUJIFILM 指的是富士相机。Model 是设备的型号。Software 是处理这张照片用的软件,Snapssed 是一款图像编辑软件。 ModifyDate 是编辑的时间。 下面还可以找到 ExposureTime 是曝光时间。CreateDate 是照片的拍摄时间。 ApertureValue 指的是光圈大小,下面还有 LensMake,是相机的镜头的品牌,LensModel 是用的镜头的型号。