LevelOne FCS-5030 General CGI URL syntax and parameters, Security level, Method GET/POST

Models: FCS-5030

1 114
Download 114 pages 15.42 Kb
Page 73
Image 73

Example: request a single snapshot image

http://mywebserver/cgi-bin/viewer/video.jpg

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

SUB-DIRECTORY

DESCRIPTION

LEVEL

 

 

 

0

 

anonymous

 

Unprotected.

 

 

 

 

 

1

[view]

anonymous,

viewer,

1. Can view, listen, talk to camera

 

 

dido, camctrl

 

2. Can control dido, ptz of camera

 

 

 

 

 

4

[operator]

anonymous,

viewer,

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

 

 

dido, camctrl, operator

parameters except some privilege and network

 

 

 

 

options

 

 

 

 

 

6

[admin]

anonymous,

viewer,

Administrator’s access right can fully control the

 

 

dido, camctrl, operator,

camera’s operation.

 

 

admin

 

 

 

 

 

 

 

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

Page 73
Image 73
LevelOne FCS-5030 General CGI URL syntax and parameters, Security level, Get server parameter values, Method GET/POST