VIVOTEK
User's Manual - 375
© 2019 VIVOTEK INC. All Right Reserved
235
8.17 Storage Managements
(capability_stroage.dbenabled > 0)
Note:
This request requires
administrator
privileges.
Method:
GET and POST
Syntax:
http://<
servername
>/cgi-bin/admin/lsctrl.cgi?cmd=<cmd_type>[&<parameter>=<value>…]
The commands usage and their input arguments are as follows.
PARAMETER
VALUE
DESCRIPTION
cmd_type
<string>
Required.
Command to be executed, including
search
,
insert
,
delete
,
update
, and
queryStatus
.
Command:
search
PARAMETER
VALUE
DESCRIPTION
label
<integer primary key> Optional.
The integer primary key column will automatically be
assigned a unique integer.
triggerType
<text>
Optional.
Indicate the event trigger type.
Please embrace your input value with single quotes.
Ex. mediaType=’motion’
Support trigger types are product dependent.
mediaType
<text>
Optional.
Indicate the file media type.
Please embrace your input value with single quotes.
Ex. mediaType=’videoclip’
Support trigger types are product dependent.
destPath
<text>
Optional.
Indicate the file location in camera.
Please embrace your input value with single quotes.
Ex. destPath =’/mnt/auto/CF/NCMF/abc.mp4’
resolution
<text>
Optional.
Indicate the media file resolution.
Please embrace your input value with single quotes.
© 2019 VIVOTEK INC. All Right Reserved
236
PARAMETER
VALUE
DESCRIPTION
Ex. resolution=’800x600’
isLocked
<boolean>
Optional.
Indicate if the file is locked or not.
0: file is not locked.
1: file is locked.
A locked file would not be removed from UI or cyclic
storage.
triggerTime
<text>
Optional.
Indicate the event trigger time. (not the file created
time)
Format is “YYYY-MM-DD HH:MM:SS”
Please embrace your input value with single quotes.
Ex. triggerTime=’2008-01-01 00:00:00’
If you want to search for a time period, please apply
“TO” operation.
Ex. triggerTime=’2008-01-01 00:00:00’+TO+’2008-01-01
23:59:59’ is to search for records from the start of Jan
1
st
2008to the end of Jan 1
st
2008.
limit
<positive integer>
Optional.
Limit the maximum number of returned search records.
offset
<positive integer>
Optional.
Specifies how many rows to skip at the beginning of the
matched records.
Note that the offset keyword is used after limit keyword.
To increase the flexibility of search command, you may use “OR” connectors for logical “OR” search
operations. Moreover, to search for a specific time period, you can use “TO” connector.
Ex. To search records triggered by motion or di or sequential and also triggered between
2008-01-01 00:00:00 and 2008-01-01 23:59:59.
http://<
servername
>/cgi-bin/admin/lsctrl.cgi?cmd=search&triggerType=’OR+’di’+OR+’seq’
&triggerTime=’2008-01-01 00:00:00’+TO+’2008-01-01 23:59:59’
Command:
delete
PARAMETER
VALUE
DESCRIPTION
label
<integer primary key> Required.
Identify the designated record.
Содержание MA9322-EHTV
Страница 93: ...VIVOTEK User s Manual 93 ...