Url Commands Of The Network Videoserver - Abus eyseo. TV7206 Guide D'installation

Table des Matières

Publicité

Les langues disponibles
  • FR

Les langues disponibles

C. URL commands of the network videoserver
For some customers who already have their own web site or web control application, the Network
Videoserver can be easily integrated through convenient URLs. This section lists the commands in
URL format corresponding to the basic functions of the Network Videoserver.
Get server parameter values
Note: This request require administrator access
Method: GET/POST
Syntax:
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.
When query parameter values, the current parameter value are returned.
Successful control requests returns parameter pairs as follows.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/html\r\n
Context-Length: <length>\r\n
\r\n
<parameter pair>
where <parameter pair> is
<parameter>=<value>\r\n
[<parameter pair>]
<length> is the actual length of content.
Example: request IP address and it's response
Request:
http://192.168.0.123/cgi-bin/admin/getparam.cgi?network_ipaddress
Response:
HTTP/1.0 200 OK\r\n
Content-Type: text/html\r\n
Context-Length: 33\r\n
\r\n
network.ipaddress=192.168.0.123\r\n
Set server parameter values
Note: This request require administrator access
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/setparam.cgi? [nosync=<value>&]<parameter>=<value>
[&<parameter>=<value>...][&return=<return page>]
parameter
<group>_<name>.
return
value
value to assigned
<return page>
description
Assign <value> to the parameter <group>_<name>..
Redirect to the page <return page> after the parameter
is assigned. The <return page> can be a full URL path
or relative path according the the current path. If you
omit this parameter, it will redirect to an empty page.
40

Publicité

Table des Matières
loading

Table des Matières