Vivotek IP7142 General CGI URL syntax and parameters, Security level, Get server parameter values

Models: IP7142

1 95
Download 95 pages 56.23 Kb
Page 66
Image 66

VIVOTEK - A Leading Provider of Multimedia Communication Solutions

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, the internal parameters must be written exactly as they are named in the camera or video server. The CGIs are organized in function related directories under the cgi-bin directory. The file extension of the CGI is required.

Syntax:

http://<servername>/cgi-bin/<subdir>[/<subdir>...]/<cgi>.<ext>[?<parameter>=<value>[&<parameter>=<value>...]]

Example: Setting 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 dido, ptz of camera

 

 

4

[operator]

anonymous, viewer, dido,

Operator’s access right can modify most of camera’s

camctrl, operator

parameters except some privilege and network options

 

 

6

[admin]

anonymous, viewer, dido,

Administrator’s access right can fully control the camera’s

camctrl, operator, admin

operation.

 

 

7

 

N/A

Internal parameters. Unable to be changed by any external

 

interface.

 

 

 

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>][&<parameter>…]

http://<servername>/cgi-bin/operator/getparam.cgi?[<parameter>][&<parameter>…]

http://<servername>/cgi-bin/admin/getparam.cgi?[<parameter>][&<parameter>…]

where the <parameter> should be <group>[_<name>] or <group>[.<name>] If you do not specify the any parameters, all the parameters on the server will be returned. If you specify only <group>, the parameters of related group will be returned.

66 - User's Manual

Page 66
Image 66
Vivotek IP7142 manual General CGI URL syntax and parameters, Security level, Get server parameter values, Method GET/POST