date 按设备配置的时区解释。历史日期查询完整自然日;查询设备当天时,结束时间为服务器当前时间。file_missing:录像索引中记录了文件,但 OSS 中找不到对应文件。index_missing:OSS 中存在录像文件,但录像索引中没有对应记录。items 只包含异常,并将同一 loss_type、同一 ossid、时间连续的文件合并为一个时间段。400 / bad_param:设备 ID 或日期格式不正确,或查询未来日期。400 / 16280032:设备所属产品不属于当前 App 对应的 Customer。400 / 15090035 / cannot_determine_video_oss:无法从录像索引确定 OSS;查询当天且没有索引时也无法从当前绑定确定 OSS。curl --location 'http://openapi-cn01.tange365.com/v2/cloud/server/video-file-statistics/AJ2E7CRFYAK3/2026-03-27' \
--header 'X-Tg-App-Id: xxx' \
--header 'X-Tg-Date: {{currentUTCTime}}' \
--header 'X-Tg-Algorithm: TGV1-HMAC-SHA256' \
--header 'X-Tg-Signed-Headers: x-tg-app-id;x-tg-date' \
--header 'Accept-Language: zh-CN' \
--header 'Authorization: ' \
--header 'X-Tg-Api-Version: 2.1'{
"code": 200,
"data": {
"summary": {
"index_file_quantity": 2,
"oss_file_quantity": 2,
"file_found_quantity": 1,
"file_missing_quantity": 1,
"index_missing_quantity": 1
},
"total": 2,
"items": [
{
"loss_type": "file_missing",
"start_time": 1774576095,
"end_time": 1774576408,
"ossid": "195",
"file_quantity": 1,
"files": [
"1702D8OBYWWQ/2026/03/27/09/48-15-313.data"
]
},
{
"loss_type": "index_missing",
"start_time": 1774577100,
"end_time": 1774577110,
"ossid": "195",
"file_quantity": 1,
"files": [
"1702D8OBYWWQ/2026/03/27/10/05-00-10.data"
]
}
]
},
"msg": "ok",
"ok": 1,
"requestid": "01JXAMPLE000000000000000000",
"status": "ok"
}