Mobotix M10 User Manual Page 144

  • Download
  • Add to my manuals
  • Print
  • Page
    / 195
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 143
54 The HTTP API
The HTTP API (Application Programming Interface) is a software interface to the camera and allows to
conveniently integrate the camera into a centralized management system. The interface consists of two CGI
scripts that can be called with parameters and values using HTTP commands. By means of these scripts, you
can modify the settings of the Setup submenus and execute certain camera functions.
Modifying the Settings of the Setup Menu
Using the HTTP command
http://<camera ip>/control/control
, you can modify the settings of the Setup
menu.
Executing Camera Functions
Using the HTTP command
http://<camera ip>/control/rcontrol
, you can execute certain camera
functions.
Important: Certain functions for Saving and Restoring the configuration can only be performed by a
user of the admin access level. In this case, you need another HTTP command for calling
the rcontrol script, namely:
http://<camera ip>/admin/rcontrol
54.1 Command Conventions
54.1.1 Command With one Instruction
If you would like to use the
list
instruction with the
control
command, you need to separate the instruction
from the command using a ?:
http://<camera ip>/control/control?list
54.1.2 Command With one Instruction and a Parameter/Value Pair
In order to execute an instruction with a parameter, the instruction needs to be separated from the parameter
by an ampersand &. The parameter value is separated by a
=
sign.
http://<camera ip>/control/control?list&section=action
54.1.3 Command With one Instruction and Several Parameter/Value Pairs
If you would like to use multiple parameters, separate them using an ampersand &:
http://<camera ip>/control/rcontrol?action=ledson&time=5
54.1.4 Several Values for one Parameter
For some parameters you need to enter two values in order to address both lenses. These parameters are
shown as having two default values (e.g.
0 0
). In the http command, you will need to separate these values
using a + sign :
http://<camera ip>/control/control?set&section=general&sharpen=0+0
54.1.5 Newline characters in commands
If you would to use one or more newline characters in a command (e.g. to set several video motion window
definitions), you need to replace the newline characters using the CGI replacement string
%0A
.
54 The HTTP API 135
Page view 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 194 195

Comments to this Manuals

No comments