VIVOTEK
User's Manual - 97
General CGI URL Syntax and Parameters
CGI parameters are written in lower-case and as one word without any underscores or other separators.
When the CGI request includes internal camera parameters, these parameters must be written exactly as
they are named in the camera or video server. The CGIs are organized in functionally-related directories
under the cgi-bin directory. The file extension .cgi is required.
Syntax:
http://<servername>/cgi-bin/<subdir>[/<subdir>...]/<cgi>.<ext>
[?<parameter>=<value>[&<parameter>=<value>...]]
Example: Set digital output #1 to active
Security Level
SECURITY LEVEL SUB-DIRECTORY DESCRIPTION
0 anonymous Unprotected.
1 [view] anonymous, viewer, dido,
camctrl
1. Can view, listen, talk to camera.
2. Can control DI/DO, PTZ of the camera.
4 [operator] anonymous, viewer, dido,
camctrl, operator
Operator access rights can modify most of the camera’s
parameters except some privileges and network options.
6 [admin] anonymous, viewer, dido,
camctrl, operator, admin
Administrator access rights can fully control the camera’s
operations.
7 N/A Internal parameters. Unable to be changed by any
external interfaces.
Get Server Parameter Values
Note: The access right depends on the URL directory.
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/anonymous/getparam.cgi?[<parameter>]
[&<parameter>…]
http://<servername>/cgi-bin/viewer/getparam.cgi?[<parameter>]
http://mywebserver/cgi-bin/dido/setdo.cgi?do1=1