VIVOTEK

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

http://mywebserver/cgi-bin/dido/setdo.cgi?do1=1

Security Level

 

SECURITY LEVEL

 

 

SUB-DIRECTORY

 

 

DESCRIPTION

 

 

0

 

 

 

anonymous

 

 

Unprotected.

 

 

 

 

 

 

 

 

 

 

1

[view]

anonymous, viewer, dido,

 

 

1. Can view, listen, talk to camera.

 

 

 

 

 

 

camctrl

 

 

2. Can control DI/DO, PTZ of the camera.

 

 

 

 

 

 

 

 

 

 

 

4

[operator]

 

anonymous, viewer, dido,

 

 

Operator access rights can modify most of the camera’s

 

 

 

 

 

 

camctrl, operator

 

 

parameters except some privileges and network options.

 

 

 

 

 

 

 

 

 

 

 

6

[admin]

 

anonymous, viewer, dido,

 

 

Administrator access rights can fully control the camera’s

 

 

 

 

 

 

camctrl, operator, admin

 

 

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>]

User's Manual - 97

Page 97
Image 97
Vivotek VS8102 manual General CGI URL Syntax and Parameters, Security Level, Get Server Parameter Values