CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

Add server media file remarks

Author 胡以文Updated 2025-09-25 11:31:48Doc ID 2280331 words · 1 min readView original ↗

Interface description

Add or update note information for media files (such as video files) on the server. Before executing the comment operation, please call the Video query interface to obtain file information. The request parameters of this interface mainly come from the return result of the Video query interface.

Data permission description

You can only operate devices that have permissions for the login account.

API address

https://v7.cmsv8.com/StandardApiAction_updateMediaRemark.action?jsession=66d754dd7f41473dbd2&vehiIdno=S66666&fileTimeI=1758613544&sourceId=567441&mediaType=1&svrId=7&filePath=E:/gStorage/RECORD_FILE/110101011101/2025-09-23/0_0_0_567441_00110101011101250923154544000200.mp4&fileSize=386747&fileType=1&channel=-1&fileLocation=2&remark=Important Video Segment

Request parameters

Parameter name Parameter type Must Example Parameter meaning
jsession string Yes 66d754dd7f41473dbd2 Session number
vehiIdno string Yes S66666 License plate number
fileTimeI number Yes 1758613544 The file start time (Unix timestamp, in seconds). The year (year)- month (mon)- day (day) file start time (beg) returned by the video query interface is calculated
sourceId number Yes 7 Take the sourceId returned by the video query interface
mediaType number Yes 1 Multimedia Type 0 means picture and 1 means video. Take the mediaType returned by the video query interface
svrId number Yes 7 the server ID. Take the svr returned by the video query interface
filePath string Yes E:/gStorage/RECORD_FILE/110101011101/2025-09-23/0_0_0_567441_00110101011101250923154544000200.mp4 file path. Take the file returned by the video query interface.
fileSize number Yes 386747 file size in bytes. Take the len returned by the video query interface.
fileType number Yes 1 Recording type 0 means normal and 1 means alarm. Get the type returned by the video query interface
channel number Yes - 1 Device channel (starting from 0) 0 means channel 1 and 1 means channel 2. CHN
fileLocation number is 2 the file location. Take the loc returned by the video query interface
remark string Yes Important footage Remarks

Return parameters

Parameter Name parameter Type parameter meaning
result number interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy = 1 & pageType = 3 & docId = 1321 & type = 1 "Error Code Description").
isOk string true for success, false for failure

Return Example

{
"result": 0
"isOk": true
}
Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com