视图数据回调
更新时间:2022-09-22
接口描述
此文档用于解释视图库空间配置视图数据上报回调通知功能中的通知内容。
请求结构
无
请求头域
除公共头域外,无其它特殊头域。
请求参数
无
响应头域
除公共头域外,无其它特殊头域。
响应参数
参数名称 | 字段类型 | 描述 |
---|---|---|
visionSpaceId | Long | 视图空间ID |
visionId | Long | 视图ID |
deviceId | Long | 视图编码ID |
result | String | 视图数据 |
说明:视图库回调功能包含多种视图数据,示例为人脸数据上报后的回调通知,仅支持人脸、人员、机动车、非机动车的数据上报回调,上报的具体数据会包含在
result
中,详情参考GAT 1400.3协议;
响应示例
POST /v1/evs/callback/test HTTP/1.1
host: 127.0.0.1:80
content-type: application/json;charset=UTF-8
content-length: 1970
accept: */*
user-agent: AHC/2.0
{
"visionSpaceId": 1000103,
"visionId": 1000113,
"deviceId": "11010802491197000082",
"result": {
"AuditTime": 1662523421277,
"FaceID": "330801010211900002220220220907120332002400600241",
"InfoKind": 1,
"SourceID": "33080101021190000222022022090712033200240",
"DeviceID": "33080101021190000222",
"LeftTopX": 31,
"LeftTopY": 1101,
"RightBtmX": 267,
"RightBtmY": 1285,
"LocationMarkTime": 1662523412000,
"FaceAppearTime": 1662523412000,
"FaceDisAppearTime": 1662523412000,
"GenderCode": "2",
"AgeUpLimit": 31,
"AgeLowerLimit": 31,
"IsDriver": 2,
"IsForeigner": 2,
"IsSuspectedTerrorist": 2,
"IsCriminalInvolved": 2,
"IsDetainees": 2,
"IsVictim": 2,
"IsSuspiciousPerson": 2,
"SubImageList": {
"SubImageInfoObject": [
{
"ImageID": "33080101021190000222022022090712033200242",
"EventSort": "11",
"DeviceID": "33080101021190000222",
"StoragePath": "",
"Type": "14",
"FileFormat": "Jpeg",
"ShotTime": "20220907120332",
"Width": 2688,
"Height": 1520,
"BucketName": "cigm52hem8s8m5xme09",
"BucketKey": "evs-vision-bucket/33080101021190000222022022090712033200242.Jpeg",
"BosUrl": "https: ///127.0.0.1/cigm52h/evs-vision-bucket/33080101021190000222022022090712033200242.Jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220907T040341Z&X-Amz-SignedHeaders=host&X-Amz-Expires=899&X-Amz-Credential=59ZOJM3H3T5HEQPRUFT9%2F20220907%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=d09bc793c5ace9071f65ba591a119c379f5cbf60673bd6637544132c5449b29d"
},
{
"ImageID": "33080101021190000222022022090712033200243",
"EventSort": "11",
"DeviceID": "33080101021190000222",
"StoragePath": "",
"Type": "11",
"FileFormat": "Jpeg",
"ShotTime": "20220907120332",
"Width": 720,
"Height": 992,
"BucketName": "cigm52hem8s8m5xme09",
"BucketKey": "evs-vision-bucket/33080101021190000222022022090712033200243.Jpeg",
"BosUrl": "https: //127.0.0.1/cigm52h/evs-vision-bucket/33080101021190000222022022090712033200243.Jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220907T040341Z&X-Amz-SignedHeaders=host&X-Amz-Expires=900&X-Amz-Credential=59ZOJM3H3T5HEQPRUFT9%2F20220907%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=70eb2ae9fe6a49572572c3ea7925c0702c7f2f7f4a8cb2008e996018c516b34d"
}
]
},
"UserIdentify": "11010802491197000082",
"DomainId": "330801010211900002220220220907120332002400600241"
}
}